GpsNavigationMessageEventpublic class GpsNavigationMessageEvent extends Object implements android.os.ParcelableA class implementing a container for data associated with a navigation message event.
Events are delivered to registered instances of {@link Listener}. |
Fields Summary |
---|
public static int | STATUS_NOT_SUPPORTEDThe system does not support tracking of GPS Navigation Messages. This status will not change
in the future. | public static int | STATUS_READYGPS Navigation Messages are successfully being tracked, it will receive updates once they are
available. | public static int | STATUS_GPS_LOCATION_DISABLEDGPS provider or Location is disabled, updated will not be received until they are enabled. | private final GpsNavigationMessage | mNavigationMessage | public static final Creator | CREATOR |
Constructors Summary |
---|
public GpsNavigationMessageEvent(GpsNavigationMessage message)
if (message == null) {
throw new InvalidParameterException("Parameter 'message' must not be null.");
}
mNavigationMessage = message;
|
Methods Summary |
---|
public int | describeContents()
return 0;
| public GpsNavigationMessage | getNavigationMessage()
return mNavigationMessage;
| public java.lang.String | toString()
StringBuilder builder = new StringBuilder("[ GpsNavigationMessageEvent:\n\n");
builder.append(mNavigationMessage.toString());
builder.append("\n]");
return builder.toString();
| public void | writeToParcel(android.os.Parcel parcel, int flags)
parcel.writeParcelable(mNavigationMessage, flags);
|
|