Navmii SDK
2.2.0
Write yourself a navigation system in iOS
|
Enumerations | |
enum | NMCameraMovementReason { NMCameraMovementReasonSdkAnimation, NMCameraMovementReasonGesture, NMCameraMovementReasonUserAnimation } |
Represents the reason of the camera movement.
Enumerator | |
---|---|
NMCameraMovementReasonSdkAnimation | The camera movement was caused by a SDK built-in animation. For example, autozoom or camera movement caused by following the GPS location or course. Such animations have the lowest priority, i.e. they will be canceled by any new camera movement. |
NMCameraMovementReasonGesture | The camera movement was caused by user gesture. Such animations have the highest priority, i.e. they will cancel any other camera position animations and won't allow any lower proirity animations to start while it's being played. |
NMCameraMovementReasonUserAnimation | The camera movement was caused by NMCameraController methods. Has priority higher than NMCameraMovementReasonSdkAnimation, but lower than NMCameraMovementReasonGesture. |