Rate this page:

VICameraManager

Manages cameras.

Methods

selectCamera

Copy URL

Future<void>

selectCamera(

VICameraType

cameraType
)

Selects camera.

Parameters

Returns

  • type:

    Future<void>

setCameraResolution

Copy URL

Future<void>

setCameraResolution(

int

width,

int

height
)

Selects camera resolution.

Camera will capture frames in a format that is as close as possible to [width] x [height].

Parameters

  • width:

    int

    Camera resolution width

  • height:

    int

    Camera resolution height

Returns

  • type:

    Future<void>