setTrackingMode

abstract fun setTrackingMode(trackingMode: CameraTrackingMode)

Sets the camera tracking mode parameters that is created with a configuration.

This function sets a camera tracking mode represented by CameraTrackingMode which is constructed with a specified configuration represented by FollowCameraOperatorConfig.

Parameters

trackingMode

The CameraTrackingMode object that specifies the camera tracking mode containing the configuration parameters that should be applied.

Important: This is a Public Preview API. It may be changed or removed at any time.