Static
Readonly
ActionStatic
Readonly
TypeDevice.Multimedia.Type
0.1
Type is used to indicate type of the media.
Static
Readonly
CropThese enums used to specify shape of crop window.
Device.Multimedia.CropShape
4.3.6
Static
Readonly
CameraDevice.Multimedia.CameraDevice
4.3.0
Static
Readonly
VideoThese enums used to specify quality of video Warning: Not recommended because it doesn't work on every Android device.
4.3.0
Readonly
LOW: 0Specifies that quality of video is low.
4.3.0
Readonly
HIGH: 1Specifies that quality of video is high.
4.3.0
Readonly
iOS: { MEDIUM: 100; TYPE640x480: 101; TYPEIFRAME1280x720: 102; TYPEIFRAME960x540: 102 }Specifies ios specific quality of video.
4.3.0
Readonly
MEDIUM: 100If recording, specifies that you want to use medium-quality video recording.
4.3.0
Readonly
TYPE640x480: 101If recording, specifies that you want to use VGA-quality video recording (pixel dimensions of 640x480).
4.3.0
Readonly
TYPEIFRAME1280x720: 102If recording, specifies that you want to use 1280x720 iFrame format.
4.3.0
Readonly
TYPEIFRAME960x540: 102If recording, specifies that you want to use 960x540 iFrame format.
4.3.0
Static
Readonly
hasIndicates whether the device has camera feature.
4.3.6
Static
iosStatic
iOSStatic
AndroidStatic
startstartCamera
Calls the camera intent.
0.1
4.3.0 use Device.Multimedia#capturePhoto capturePhoto OR Device.Multimedia#recordVideo recordVideo
Object describing parameters for the function.
Static
capturecapturePhoto
Calls the camera intent for photo.
4.3.0
Object describing parameters for the function.
Static
recordrecordVideo
Calls the camera intent for video. In Android, read/write external storage permission should be obtained before using recorded video.
4.3.0
Object describing parameters for the function.
Static
pickpickFromGallery
0.1
Object describing parameters for the function.
Static
pickpickMultipleFromGallery
Allows multiple pick item from gallery.
4.3.6
Object describing parameters for the function.
Static
launchlaunchCropper
Launches cropper.
4.3.6
Object describing parameters for the function.
Static
convertconvertToMp4
Converts video file to mp4 format.
Multimedia.convertToMp4({
videoFile: video,
outputFileName: "myMp4Video",
onCompleted: ({video}) => {
console.log(" Multimedia onCompleted ")
},
onFailure: () => {
console.log(" Multimedia onFailure ")
}
});
4.2.2
Object describing parameters for the function.
Generated using TypeDoc
Device.Multimedia.ActionType
Since
0.1
Android
Ios
ActionType is used to indicate type of the camera action.