Classes | |
interface | ObjectType |
Public Member Functions | |
int | getId () |
int | getZIndex () |
void | setZIndex (int ZIndex) |
GeoCoordinates | getPosition () |
T | getData () |
int | getObjectType () |
void | setId (final int id) |
boolean | equals (final Object o) |
int | hashCode () |
int | describeContents () |
void | writeToParcel (final Parcel dest, final int flags) |
Public Member Functions inherited from com.sygic.sdk.BaseNativeParcelable | |
boolean | isValidParcelable () |
Protected Member Functions | |
ViewObject (@NonNull final T viewObjectData, final @ObjectType int type) | |
ViewObject (@NonNull final T viewObjectData, final @ObjectType int type, final int id, final int zIndex) | |
ViewObject (final Parcel in) | |
Additional Inherited Members | |
Protected Attributes inherited from com.sygic.sdk.BaseNativeParcelable | |
boolean | mIsValidParcelable = true |
Represent the base class implementation for all objects that are selectable from a com.sygic.sdk.map.MapView
|
protected |
|
protected |
|
protected |
int com.sygic.sdk.map.object.ViewObject< T extends ViewObjectData >.describeContents | ( | ) |
boolean com.sygic.sdk.map.object.ViewObject< T extends ViewObjectData >.equals | ( | final Object | o | ) |
T com.sygic.sdk.map.object.ViewObject< T extends ViewObjectData >.getData | ( | ) |
Get data associated with this viewObject.
int com.sygic.sdk.map.object.ViewObject< T extends ViewObjectData >.getId | ( | ) |
int com.sygic.sdk.map.object.ViewObject< T extends ViewObjectData >.getObjectType | ( | ) |
Returns the type of view object.
GeoCoordinates com.sygic.sdk.map.object.ViewObject< T extends ViewObjectData >.getPosition | ( | ) |
Returns the position of selected view object. The meaning of the location for a particular object depends on that object's type. Objects that don't have a location will return position with invalid value. The meaning of the location for certain view objects is as follows:
MapView objects: com.sygic.sdk.map.object.MapObject.MapObjectType#Point - has location. com.sygic.sdk.map.object.MapObject.MapObjectType#SafetySpot - has location com.sygic.sdk.map.object.MapObject.MapObjectType#Circle - the center of the circle com.sygic.sdk.map.object.MapObject.MapObjectType#Container - no location com.sygic.sdk.map.object.MapObject.MapObjectType#Marker - has location com.sygic.sdk.map.object.MapObject.MapObjectType#LabeledMarker - has location com.sygic.sdk.map.object.MapObject.MapObjectType#Polygon - the first vertex com.sygic.sdk.map.object.MapObject.MapObjectType#Polyline - the first vertex com.sygic.sdk.map.object.MapObject.MapObjectType#Route - the first waypoint of the route
int com.sygic.sdk.map.object.ViewObject< T extends ViewObjectData >.getZIndex | ( | ) |
int com.sygic.sdk.map.object.ViewObject< T extends ViewObjectData >.hashCode | ( | ) |
void com.sygic.sdk.map.object.ViewObject< T extends ViewObjectData >.setId | ( | final int | id | ) |
For internal use only. Do not use outside of sdk.
void com.sygic.sdk.map.object.ViewObject< T extends ViewObjectData >.setZIndex | ( | int | ZIndex | ) |
void com.sygic.sdk.map.object.ViewObject< T extends ViewObjectData >.writeToParcel | ( | final Parcel | dest, |
final int | flags | ||
) |
For documentation, see android.os.Parcelable.writeToParcel()