CameraMediaItemType
> CameraMediaItemType

A media object from the camera or photo gallery.

  • 0.8
  • 0.8
  • 0.8

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

CameraMediaItemType
: Number
Error code. ...

Error code. Returns 0.

Error code will be 0.

  • 3.1.0
  • 3.1.0
  • 3.1.0

Overrides: SuccessResponse.code

CameraMediaItemType
cropRect : CropRectType

Simple object defining the user's selected crop rectangle, or null if the user has not edited the photo.

Simple object defining the user's selected crop rectangle, or null if the user has not edited the photo.

CameraMediaItemType
error : String

Error message, if any returned.

Error message, if any returned.

Will be undefined.

  • 3.1.0
  • 3.1.0
  • 3.1.0

Overrides: SuccessResponse.error

The live photo object, as a Titanium.UI.iOS.LivePhoto and undefined if no live photo is selected. ...

The live photo object, as a Titanium.UI.iOS.LivePhoto and undefined if no live photo is selected.

Requires: iOS 9.1 and later

  • 5.2.0
  • 5.2.0
  • 5.2.0
CameraMediaItemType
media : Titanium.Blob

The media object, as a Blob.

The media object, as a Blob.

CameraMediaItemType
mediaType : String

The type of media, either MEDIA_TYPE_PHOTO, MEDIA_TYPE_LIVEPHOTO or MEDIA_TYPE_VIDEO defined in Titanium.Media.

The type of media, either MEDIA_TYPE_PHOTO, MEDIA_TYPE_LIVEPHOTO or MEDIA_TYPE_VIDEO defined in Titanium.Media.

CameraMediaItemType
previewRect : PreviewRectType

Simple object defining the preview image size.

Simple object defining the preview image size.

  • 0.8
CameraMediaItemType
: Boolean
Indicates if the operation succeeded. ...

Indicates if the operation succeeded. Returns true.

Returns true.

  • 3.1.0
  • 3.1.0
  • 3.1.0

Overrides: SuccessResponse.success