Represents a change in the quality and availability of GPS during navigation.
DISCLAIMER: This is an EXPERIMENTAL API and its behaviors may be subject to removal or breaking changes in future releases.
Public Constructor Summary
Public Method Summary
| static GpsAvailabilityChangeEvent |
create(boolean isGpsLost, boolean isGpsValidForNavigation)
|
| abstract boolean |
isGpsLost()
Indicates a GPS signal or other sensors good enough for a reasonably certain location have been
lost.
|
| abstract boolean |
isGpsValidForNavigation()
Indicates a GPS signal or other sensors are in general good enough for use in navigation.
|
Inherited Method Summary
Public Constructors
public GpsAvailabilityChangeEvent ()
Public Methods
public static GpsAvailabilityChangeEvent create (boolean isGpsLost, boolean isGpsValidForNavigation)
Parameters
| isGpsLost | |
|---|---|
| isGpsValidForNavigation |
public abstract boolean isGpsLost ()
Indicates a GPS signal or other sensors good enough for a reasonably certain location have been lost.
This state is triggered after a short timeout (10 seconds) and serves as an early warning of potential signal issues. For example, the "Searching for GPS" UI message may be shown when this value is true.
DISCLAIMER: This is an EXPERIMENTAL API and its behaviors may be subject to removal or breaking changes in future releases.
public abstract boolean isGpsValidForNavigation ()
Indicates a GPS signal or other sensors are in general good enough for use in navigation.
Note that this value takes into account the frequent failure of GPS at the start of nav, and doesn't become true until some time later.
DISCLAIMER: This is an EXPERIMENTAL API and its behaviors may be subject to removal or breaking changes in future releases.