com.sygic.sdk.map.object.MapObject Class Referenceabstract
Inheritance diagram for com.sygic.sdk.map.object.MapObject:
Collaboration diagram for com.sygic.sdk.map.object.MapObject:

Classes

interface  MapObjectType
 

Public Member Functions

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

 MapObject (@NonNull final GeoCoordinates position, 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
 ViewObject (@NonNull final GeoCoordinates position, final @ObjectType int type)
 
 ViewObject (@NonNull final GeoCoordinates position, final @ObjectType int type, final int id, final int zIndex)
 
 ViewObject (final Parcel in)
 

Static Protected Attributes

static final int DEFAULT_OBJECT_COLOR = Color.argb(255, 200, 10, 21)
 

Additional Inherited Members

- Protected Attributes inherited from com.sygic.sdk.BaseNativeParcelable
boolean mIsValidParcelable = true
 

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

com.sygic.sdk.map.object.MapObject.MapObject ( @NonNull final GeoCoordinates  position,
final @MapObjectType int  type,
final int  id,
final int  zIndex 
)
protected
com.sygic.sdk.map.object.MapObject.MapObject ( final Parcel  in)
protected

Member Function Documentation

int com.sygic.sdk.map.object.MapObject.describeContents ( )
boolean com.sygic.sdk.map.object.MapObject.equals ( Object  o)
int com.sygic.sdk.map.object.MapObject.getMapObjectType ( )

Returns the type of map object

Returns
MapObjectType type
int com.sygic.sdk.map.object.MapObject.hashCode ( )
void com.sygic.sdk.map.object.MapObject.writeToParcel ( final Parcel  dest,
final int  flags 
)

Member Data Documentation

final int com.sygic.sdk.map.object.MapObject.DEFAULT_OBJECT_COLOR = Color.argb(255, 200, 10, 21)
staticprotected

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