Capture Media
Prerequisites
Capturing an Image
const cameraConfiguration : CameraConfiguration = {
lensFacing: LensFacing?.Front,
//lensFacing: LensFacing?.Back,
flashMode: FlashMode?.Off,
//flashMode: FlashMode?.On
orientation: Orientation?.Portrait,
//orientation: Orientation?.LandscapeLeft,
//orientation: Orientation?.LandscapeRight,
//orientation: Orientation?.Portrai
outputPath: "",
frontResolutions: [],
frontResolution: null,
backResolutions: [],
backResolution: null,
mode: CameraMode.videoAndImage()
//mode: CameraMode.image()
//mode: CameraMode.video()
imageFormat : ImageFormat.JPEG
}Finalize :
Media Item Object
Property
Type
Description
What’s Next?
Last updated
Was this helpful?