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 to which contains the configuration parameters that should be applied.