Titanium.Media.CameraMediaItemType
A media object from the camera or photo gallery.
Extends: SuccessResponse
Properties #
cropRect#
Type: Dimension
Simple object defining the user's selected crop rectangle, or null if the user has not edited the photo. width/height values are assumed to be in pixels.
livePhoto#
Type: Titanium.UI.iOS.LivePhoto
The live photo object, as a Titanium.UI.iOS.LivePhoto and
undefined if no live photo is selected.
mediaType#
Type: String
The type of media, either MEDIA_TYPE_PHOTO, MEDIA_TYPE_LIVEPHOTO or MEDIA_TYPE_VIDEO defined in Titanium.Media.
previewRect#
Type: Size
Simple object defining the preview image size. This will be undefined when custom camera overlay is not used. Values are assumed to be in pixels.