Event
Event
Type: public class
A class that defines an event
Event(int id, @NonNull String name, @NonNull Pinpoint pinpoint, @NonNull EventDate [] dates)
Type: public
Create a Wemap Event
| Parameter Name | Type | Description |
|---|---|---|
| id | int | the event id |
| name | @NonNull | the event name |
| pinpoint | @NonNull | the event pinpoint |
Event(int id, @NonNull String name, @NonNull Pinpoint pinpoint, @NonNull EventDate [] dates, @Nullable String description)
Type: public
Create a Wemap Event
| Parameter Name | Type | Description |
|---|---|---|
| id | int | the event id |
| name | @NonNull | the event name |
| pinpoint | @NonNull | the event pinpoint |
| description | @NonNull | the event description |
Event(int id, @NonNull String name, @NonNull Pinpoint pinpoint, @NonNull EventDate [] dates, @Nullable String description, @Nullable JSONObject externalData)
Type: public
Create a Wemap Event
| Parameter Name | Type | Description |
|---|---|---|
| id | int | the event id |
| name | @NonNull | the event name |
| pinpoint | @NonNull | the event pinpoint |
| description | @NonNull | the event description |
| externalData | @Nullable | the event external data |
Event(int id, @NonNull String name, @NonNull Pinpoint pinpoint, @NonNull EventDate [] dates, @Nullable String description, @Nullable JSONObject externalData, @Nullable String created, @Nullable String updated)
Type: private
Create a Wemap Event
| Parameter Name | Type | Description |
|---|---|---|
| id | int | the event id |
| name | @NonNull | the event name |
| pinpoint | @NonNull | the event pinpoint |
| description | @NonNull | the event description |
| externalData | @Nullable | the event external data |
| created | @Nullable | the event timestamp creation |
| updated | @Nullable | the event timestamp last update |
getId()
Type: public int
Get the event id.
Returned Value: the id
getName()
Type: @NonNull public [String](https://developer.android.com/reference/java/lang/String)
Get the event name.
Returned Value: the name
getPinpoint()
Type: @NonNull public
Get the event pinpoint.
Returned Value: the pinpoint
getDates()
Type: @NonNull public
Get the event dates
Returned Value: the event dates
getDescription()
Type: @Nullable public [String](https://developer.android.com/reference/java/lang/String)
Get the event description.
Returned Value: the description
getExternalData()
Type: @NonNull public JSONObject
Get the external data.
Returned Value: the external data.