Geofence.Builder| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<ParcelableGeofence> |
CREATOR |
GEOFENCE_TRANSITION_DWELL, GEOFENCE_TRANSITION_ENTER, GEOFENCE_TRANSITION_EXIT, LOITERING_DELAY_NONE, NEVER_EXPIRE| Modifier | Constructor and Description |
|---|---|
protected |
ParcelableGeofence(android.os.Parcel in) |
|
ParcelableGeofence(java.lang.String requestId,
double latitude,
double longitude,
float radius,
long durationMillis,
int transitionTypes,
int loiteringDelayMs) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
long |
getDuration() |
double |
getLatitude() |
int |
getLoiteringDelayMs() |
double |
getLongitude() |
float |
getRadius() |
java.lang.String |
getRequestId() |
int |
getTransitionTypes() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<ParcelableGeofence> CREATOR
public ParcelableGeofence(java.lang.String requestId,
double latitude,
double longitude,
float radius,
long durationMillis,
int transitionTypes,
int loiteringDelayMs)
protected ParcelableGeofence(android.os.Parcel in)
public java.lang.String getRequestId()
getRequestId in interface Geofencepublic double getLatitude()
public double getLongitude()
public float getRadius()
public long getDuration()
public int getTransitionTypes()
public int getLoiteringDelayMs()
public void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelablepublic int describeContents()
describeContents in interface android.os.Parcelable