Partager via


VideoAndImageProps interface

All properties in VideoAndImageProps are optional and have default values in the platform

Extends

Inherited Properties

enableFilter

Optional; indicate if image filtering mode is enabled on the selected image Default value is false

imageOutputFormats

Optional; Lets the developer specify the image output formats, more than one can be specified. Default value is Image.

ink

Optional; indicate if inking on the selected Image is allowed or not Default value is true

isFullScreenMode

Optional; to determine if the video capturing flow needs to be launched in Full Screen Mode (Lens implementation) or PictureInPicture Mode (Native implementation). Default value is true, indicating video will always launch in Full Screen Mode via lens.

isStopButtonVisible

Optional; controls the visibility of stop button in PictureInPicture Mode. Default value is true, indicating the user will be able to stop the video.

maxDuration

Optional; the maximum duration in seconds after which the recording should terminate automatically. Default value is defined by the platform serving the API.

textSticker

Optional; indicate if putting text stickers on the selected Image is allowed or not Default value is true

videoController

Optional; setting VideoController will register your app to listen to the lifecycle events during the video capture flow. Your app can also dynamically control the experience while capturing the video by notifying the host client.

Inherited Property Details

enableFilter

Optional; indicate if image filtering mode is enabled on the selected image Default value is false

enableFilter?: boolean

Property Value

boolean

Inherited From ImageProps.enableFilter

imageOutputFormats

Optional; Lets the developer specify the image output formats, more than one can be specified. Default value is Image.

imageOutputFormats?: ImageOutputFormats[]

Property Value

Inherited From ImageProps.imageOutputFormats

ink

Optional; indicate if inking on the selected Image is allowed or not Default value is true

ink?: boolean

Property Value

boolean

Inherited From ImageProps.ink

isFullScreenMode

Optional; to determine if the video capturing flow needs to be launched in Full Screen Mode (Lens implementation) or PictureInPicture Mode (Native implementation). Default value is true, indicating video will always launch in Full Screen Mode via lens.

isFullScreenMode?: boolean

Property Value

boolean

Inherited From VideoProps.isFullScreenMode

isStopButtonVisible

Optional; controls the visibility of stop button in PictureInPicture Mode. Default value is true, indicating the user will be able to stop the video.

isStopButtonVisible?: boolean

Property Value

boolean

Inherited From VideoProps.isStopButtonVisible

maxDuration

Optional; the maximum duration in seconds after which the recording should terminate automatically. Default value is defined by the platform serving the API.

maxDuration?: number

Property Value

number

Inherited From VideoProps.maxDuration

textSticker

Optional; indicate if putting text stickers on the selected Image is allowed or not Default value is true

textSticker?: boolean

Property Value

boolean

Inherited From ImageProps.textSticker

videoController

Optional; setting VideoController will register your app to listen to the lifecycle events during the video capture flow. Your app can also dynamically control the experience while capturing the video by notifying the host client.

videoController?: VideoController

Property Value

Inherited From VideoProps.videoController