Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLICK |
static java.lang.String |
CLICK_LONG |
static java.lang.String |
CLICK_MARKER |
private java.lang.String |
event_type_
The type of event being fired.
|
private PlaceEntity |
place_entity_
An optional
PlaceEntity to be attached with this event. |
static java.lang.String |
READY |
Constructor and Description |
---|
MapEvent(java.lang.String event_type,
PlaceEntity place_entity)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
event_type() |
PlaceEntity |
place_entity() |
public static final java.lang.String READY
public static final java.lang.String CLICK
public static final java.lang.String CLICK_LONG
public static final java.lang.String CLICK_MARKER
@NonNull private final java.lang.String event_type_
@Nullable private final PlaceEntity place_entity_
PlaceEntity
to be attached with this event.public MapEvent(@NonNull java.lang.String event_type, @Nullable PlaceEntity place_entity)
event_type
- The event typeplace_entity
- A (possibly null
) PlaceEntity
firing the event@NonNull public final java.lang.String event_type()
event_type
in interface IEvent
@Nullable public final PlaceEntity place_entity()