Skip to main content
Version: Next

Interface: CameraEffectMiddlewareOptions

Defined in: react-native/createCameraEffectMiddleware.ts:20

Properties​

height?​

readonly optional height: number

Defined in: react-native/createCameraEffectMiddleware.ts:24

Height of the published video, in pixels. Defaults to 1280.


onStatus()?​

readonly optional onStatus: (status, error?) => void

Defined in: react-native/createCameraEffectMiddleware.ts:26

Reports the effect's loading progress and failures.

Parameters​

ParameterType
statusVideoEffectStatus
error?Error

Returns​

void


width?​

readonly optional width: number

Defined in: react-native/createCameraEffectMiddleware.ts:22

Width of the published video, in pixels. Defaults to 720.