Package | flash.media |
Class | public final class MediaType |
Inheritance | MediaType Object |
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2.5 |
Use the constants defined in this class as input to the launch()
method
of the CameraUI class. MediaType values are also used in the mediaType
property
of the MediaPromise class.
Related API Elements
CameraUI.launch()
MediaPromise.mediaType
MediaPromise.mediaType
Public Properties
Public Methods
Public Constants
Constant | Defined By | ||
---|---|---|---|
IMAGE : String = "image" [static]
A single image. | MediaType | ||
VIDEO : String = "video" [static]
A video. | MediaType |
Constant Detail
IMAGE | Constant |
public static const IMAGE:String = "image"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2.5 |
A single image.
VIDEO | Constant |
public static const VIDEO:String = "video"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2.5 |
A video.
Mon Nov 28 2011, 06:48 AM -08:00