java.lang.Object | ||
↳ | com.urbanairship.analytics.Event | |
↳ | com.urbanairship.analytics.location.LocationEvent |
This class captures all the necessary information for Airship
Analytics
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
@interface | LocationEvent.UpdateType |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | UPDATE_TYPE_CONTINUOUS | Continuous location update type | |||||||||
int | UPDATE_TYPE_SINGLE | Single location update type |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.urbanairship.analytics.Event
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LocationEvent(Location location, int type, int userRequestedAccuracy, int updateDist, boolean isForeground)
Constructor for LocationEvent.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int |
getPriority()
The event's send priority.
| ||||||||||
String |
getType()
The event type.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.urbanairship.analytics.Event
| |||||||||||
From class
java.lang.Object
|
Continuous location update type
Single location update type
Constructor for LocationEvent.
location | An instance of Location. |
---|---|
type | The location's UpdateType. |
userRequestedAccuracy | The associated user-requested location accuracy. |
updateDist | The associated update distance. |
isForeground | If the location was recorded when the app was foregrounded or not. |
The event's send priority.