public class IARoute
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
IARoute.Leg
Object representing the line segment between two
IARoute.Points . |
static class |
IARoute.Point |
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<IARoute> |
CREATOR |
Constructor and Description |
---|
IARoute(java.util.ArrayList<IARoute.Leg> route) |
IARoute(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
static IARoute |
from(android.content.Intent intent)
Extracts an
IARoute from the extras of an Intent or null
if not present. |
java.util.List<IARoute.Leg> |
getLegs() |
void |
writeToParcel(android.os.Parcel parcel,
int flags) |
public static final android.os.Parcelable.Creator<IARoute> CREATOR
public IARoute(java.util.ArrayList<IARoute.Leg> route)
public IARoute(android.os.Parcel in)
public java.util.List<IARoute.Leg> getLegs()
public static IARoute from(android.content.Intent intent)
IARoute
from the extras of an Intent
or null
if not present. Use this utility method for received Intents after requesting location
updates with IALocationManager.requestWayfindingUpdates(com.indooratlas.android.sdk.IAWayfindingRequest, com.indooratlas.android.sdk.IAWayfindingListener, android.os.Looper)
. The event is stored in the
extra Bundle
a byte array
with the
IALocationManager.EXTRA_WAYFINDING_EVENT
key.intent
- Intent
to extract the IARoute
from. Can be null.IARoute
or null
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel parcel, int flags)
writeToParcel
in interface android.os.Parcelable