com.sygic.sdk.map.object.MapObject< T extends ViewObjectData > Class Template Referenceabstract
Inheritance diagram for com.sygic.sdk.map.object.MapObject< T extends ViewObjectData >:
Collaboration diagram for com.sygic.sdk.map.object.MapObject< T extends ViewObjectData >:

Classes

interface  MapObjectType
 

Public Member Functions

int getMapObjectType ()
 
boolean equals (Object o)
 
int hashCode ()
 
void writeToParcel (final Parcel dest, final int flags)
 
- Public Member Functions inherited from com.sygic.sdk.map.object.ViewObject< T >
int getId ()
 
int getZIndex ()
 
void setZIndex (int ZIndex)
 
GeoCoordinates getPosition ()
 
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)
 

Protected Member Functions

 MapObject (@NonNull final T objectData, final @MapObjectType int type, final int id, final int zIndex)
 
 MapObject (final Parcel in)
 
- Protected Member Functions inherited from com.sygic.sdk.map.object.ViewObject< T >
 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)
 

Detailed Description

Represent the class implementation for view objects that were added to map by user. In order to display the object on the map, the object needs to be added to an MapView by calling addMapObject:

Constructor & Destructor Documentation

◆ MapObject() [1/2]

com.sygic.sdk.map.object.MapObject< T extends ViewObjectData >.MapObject ( @NonNull final T  objectData,
final @MapObjectType int  type,
final int  id,
final int  zIndex 
)
protected

◆ MapObject() [2/2]

com.sygic.sdk.map.object.MapObject< T extends ViewObjectData >.MapObject ( final Parcel  in)
protected

Member Function Documentation

◆ equals()

boolean com.sygic.sdk.map.object.MapObject< T extends ViewObjectData >.equals ( Object  o)

◆ getMapObjectType()

int com.sygic.sdk.map.object.MapObject< T extends ViewObjectData >.getMapObjectType ( )

Returns the type of map object

Returns
MapObjectType type

◆ hashCode()

int com.sygic.sdk.map.object.MapObject< T extends ViewObjectData >.hashCode ( )

◆ writeToParcel()

void com.sygic.sdk.map.object.MapObject< T extends ViewObjectData >.writeToParcel ( final Parcel  dest,
final int  flags 
)

For documentation, see android.os.Parcelable.writeToParcel()


The documentation for this class was generated from the following file: