Other Classes
The following classes are available globally.
-
Provides a high-level camera controller for automotive navigation that manages both tracking and area camera behaviors. This class acts as a facade, delegating camera operations to either a
TrackingCameraBehaviorfor following the vehicle during navigation or anAreaCameraBehaviorfor showing overview areas such as points of interest or route previews.The controller supports three states: tracking mode (following the vehicle), area mode (showing geographic regions), or inactive (no automatic camera control). The inactive state allows external control of the camera, such as when responding to user touch events or when UI logic temporarily disables automatic camera behavior.
Camera configuration, including animation durations, zoom policies, and maneuver handling settings, can be provided through a JSON configuration string or file. The configuration is validated and parsed during construction.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
See moreDeclaration
Swift
public class AutomotiveCameraBehavior : CameraBehaviorextension AutomotiveCameraBehavior: NativeBaseextension AutomotiveCameraBehavior: Hashable
Other Classes Reference