Inheritance diagram for com.navigine.idl.java.internal.GuidanceCameraBinding:Public Member Functions | |
| native boolean | isValid () |
| void | setMode (GuidanceCameraMode mode) |
| Sets Free / Following / Overview. | |
| GuidanceCameraMode | mode () |
| Current mode. | |
| void | set2DMode (boolean enabled) |
| Forces a top-down camera (tilt 0) in Following and Overview. When false, Following uses a fixed forward tilt. | |
| boolean | is2DMode () |
| Returns true when top-down guidance is enabled. | |
| void | setActive (boolean active) |
| When false, the camera is not moved. Instructions still update. | |
| boolean | isActive () |
| Returns true when this controller may move the camera. | |
| RouteInstruction | instruction () |
| Latest next instruction, or null. | |
| void | addListener (GuidanceListener listener) |
| Adds a listener for mode and instruction changes. | |
| void | removeListener (GuidanceListener listener) |
| Removes a previously added listener. | |
Protected Attributes | |
| Subscription< GuidanceListener > | weakGuidanceListenerSubscription |
Definition at line 14 of file GuidanceCameraBinding.java.
|
inline |
Adds a listener for mode and instruction changes.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.GuidanceCamera.
Definition at line 86 of file GuidanceCameraBinding.java.
|
inline |
Latest next instruction, or null.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.GuidanceCamera.
Definition at line 79 of file GuidanceCameraBinding.java.
|
inline |
Returns true when top-down guidance is enabled.
Reimplemented from com.navigine.idl.java.GuidanceCamera.
Definition at line 58 of file GuidanceCameraBinding.java.
|
inline |
Returns true when this controller may move the camera.
Reimplemented from com.navigine.idl.java.GuidanceCamera.
Definition at line 72 of file GuidanceCameraBinding.java.
| native boolean com.navigine.idl.java.internal.GuidanceCameraBinding.isValid | ( | ) |
Tells if this GuidanceCamera is valid or not. Any other method (except for this one) called on an invalid GuidanceCamera will throw java.lang.RuntimeException.
Reimplemented from com.navigine.idl.java.GuidanceCamera.
|
inline |
Current mode.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.GuidanceCamera.
Definition at line 44 of file GuidanceCameraBinding.java.
|
inline |
Removes a previously added listener.
Reimplemented from com.navigine.idl.java.GuidanceCamera.
Definition at line 93 of file GuidanceCameraBinding.java.
|
inline |
Forces a top-down camera (tilt 0) in Following and Overview. When false, Following uses a fixed forward tilt.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.GuidanceCamera.
Definition at line 51 of file GuidanceCameraBinding.java.
|
inline |
When false, the camera is not moved. Instructions still update.
Reimplemented from com.navigine.idl.java.GuidanceCamera.
Definition at line 65 of file GuidanceCameraBinding.java.
|
inline |
Sets Free / Following / Overview.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.GuidanceCamera.
Definition at line 37 of file GuidanceCameraBinding.java.
|
protected |
Definition at line 23 of file GuidanceCameraBinding.java.