setTrackingMode

abstract fun setTrackingMode(cameraId: String, trackingMode: String): Boolean

Sets tracking mode of the given camera.

Return

Whether successfully set the mode.

Parameters

cameraId

Camera ID whose tracking mode hsa to be set.

trackingMode

The tracking mode to set to. Should be one of the options in availableTrackingModes

Throws

Throws for invalid camera id, or invalid #trackingMode option