public class SitumEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
Constructor and Description |
---|
SitumEvent() |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
int |
getBuildingId()
Deprecated.
Use
getTrigger() |
Circle |
getConversion()
Returns the conversion area of the event.
|
SitumConversionArea |
getConversionArea()
Deprecated.
Use
getConversion() |
java.util.Map<java.lang.String,java.lang.String> |
getCustomFields()
Obtain a map with the custom fields for the current event.
|
int |
getFloor_id()
Deprecated.
Use
getTrigger() |
java.lang.String |
getHtml() |
int |
getId() |
java.lang.String |
getName() |
float |
getRadius()
Deprecated.
Use
getTrigger() |
Circle |
getTrigger()
Returns the trigger area of the event
|
float |
getX()
Deprecated.
Use
getTrigger() |
float |
getY()
Deprecated.
Use
getTrigger() |
boolean |
notifyClicked(Context applicationContext,
java.lang.String phoneid)
Deprecated.
use
DefaultCommunicationManager#eventClicked(EventOccurrence, Map, Handler) instead |
boolean |
notifyConverted(Context context,
java.lang.String phoneid)
Deprecated.
use
DefaultCommunicationManager#eventConverted(EventOccurrence, Map, Handler) instead |
boolean |
notifySeen(Context context,
java.lang.String phoneId)
Deprecated.
use
DefaultCommunicationManager#eventSeen(SitumEvent, Map, Handler) instead |
void |
setId(int id)
Just for internal SDK use.
|
java.lang.String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
@Deprecated public boolean notifySeen(Context context, java.lang.String phoneId)
DefaultCommunicationManager#eventSeen(SitumEvent, Map, Handler)
insteadcontext
- Application context for sending the notificationphoneId
- Phone identifier+@Deprecated public boolean notifyClicked(Context applicationContext, java.lang.String phoneid)
DefaultCommunicationManager#eventClicked(EventOccurrence, Map, Handler)
insteadapplicationContext
- Application context for sending the notificationphoneid
- Phone identifier@Deprecated public boolean notifyConverted(Context context, java.lang.String phoneid)
DefaultCommunicationManager#eventConverted(EventOccurrence, Map, Handler)
insteadcontext
- Application context for sending the notificationphoneid
- Phone identifierpublic int getBuildingId()
getTrigger()
public int getId()
public void setId(int id)
public int getFloor_id()
getTrigger()
public float getX()
getTrigger()
public float getY()
getTrigger()
public float getRadius()
getTrigger()
public java.lang.String getName()
public java.lang.String getHtml()
public SitumConversionArea getConversionArea()
getConversion()
public Circle getConversion()
public Circle getTrigger()
public java.util.Map<java.lang.String,java.lang.String> getCustomFields()
public java.lang.String toString()
toString
in class java.lang.Object
public int describeContents()
public void writeToParcel(Parcel dest, int flags)