Package | flash.media |
Class | public final class MediaType |
Inheritance | MediaType Object |
Language version: | ActionScript 3.0 |
Runtime version: | 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.
See also
Constant | Defined by | ||
---|---|---|---|
IMAGE : String = "image" [static]
A single image.
| MediaType | ||
VIDEO : String = "video" [static]
A video.
| MediaType |
IMAGE | constant |
public static const IMAGE:String = "image"
Language version: | ActionScript 3.0 |
Runtime version: | AIR 2.5 |
A single image.
VIDEO | constant |
public static const VIDEO:String = "video"
Language version: | ActionScript 3.0 |
Runtime version: | AIR 2.5 |
A video.