Rate this page:

VICameraManager

Manages cameras.

Methods

selectCamera

Copy URL
selectCamera(cameraType: 

VICameraType

):

Future<void>

Selects camera.

Parameters

Returns

  • type:

    Future<void>

setCameraResolution

Copy URL
setCameraResolution(width: 

int

,
height:

int

):

Future<void>

Selects camera resolution.

Camera captures 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>