Inheritance diagram for com.navigine.idl.java.internal.MapObjectBinding:Public Member Functions | |
| native boolean | isValid () |
| int | getId () |
| Gets the unique identifier of the map object. | |
| MapObjectType | getType () |
| Gets the type of the map object. | |
| byte[] | getData () |
| Gets the user-defined data associated with the map object. | |
| boolean | setVisible (boolean visible) |
| Method is used to specify the visibility of the map object. | |
| boolean | setInteractive (boolean interactive) |
| Method is used to specify whether the map object can be interacted with. | |
| void | setData (byte[] data) |
| Method is used to set user-defined data for the map object. | |
| boolean | setTitle (String title) |
| Method is used to set the title of the map object. | |
| boolean | setAlpha (float alpha) |
| Method is used to set the opacity of the map object. | |
Definition at line 11 of file MapObjectBinding.java.
|
inline |
Gets the user-defined data associated with the map object.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 40 of file MapObjectBinding.java.
|
inline |
Gets the unique identifier of the map object.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 26 of file MapObjectBinding.java.
|
inline |
Gets the type of the map object.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 33 of file MapObjectBinding.java.
| native boolean com.navigine.idl.java.internal.MapObjectBinding.isValid | ( | ) |
Tells if this MapObject is valid or not. Any other method (except for this one) called on an invalid MapObject will throw java.lang.RuntimeException.
Reimplemented from com.navigine.idl.java.MapObject.
|
inline |
Method is used to set the opacity of the map object.
| alpha | Opacity multiplier. Values below 0 will be set to 0. Values above 1 will be set to 1. Default: 1. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 75 of file MapObjectBinding.java.
|
inline |
Method is used to set user-defined data for the map object.
| data | Data to store in the map object. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 61 of file MapObjectBinding.java.
|
inline |
Method is used to specify whether the map object can be interacted with.
| interactive | Specifies whether the object can be picked in the pickMapObjectAt method (true) or not (false). Default: false. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 54 of file MapObjectBinding.java.
|
inline |
Method is used to set the title of the map object.
| title | The title to display on the location view. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 68 of file MapObjectBinding.java.
|
inline |
Method is used to specify the visibility of the map object.
| visible | Specifies whether the object is visible (true) or hidden (false). Default: true. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 47 of file MapObjectBinding.java.