/**@class android.location.GpsStatus @extends java.lang.Object This class represents the current state of the GPS engine. <p>This class is used in conjunction with the {@link android.location.GpsMeasurementsEvent.Listener} interface. @deprecated use {@link android.location.GnssStatus} and {@link android.location.GnssStatus.Callback}. */ var GpsStatus = { /** Event sent when the GPS system has started. */ GPS_EVENT_STARTED : "1", /** Event sent when the GPS system has stopped. */ GPS_EVENT_STOPPED : "2", /** Event sent when the GPS system has received its first fix since starting. Call {@link #getTimeToFirstFix}() to find the time from start to first fix. */ GPS_EVENT_FIRST_FIX : "3", /** Event sent periodically to report GPS satellite status. Call {@link #getSatellites}() to retrieve the status for each satellite. */ GPS_EVENT_SATELLITE_STATUS : "4", /**Returns the time required to receive the first fix since the most recent restart of the GPS engine. @return {Number} time to first fix in milliseconds */ getTimeToFirstFix : function( ) {}, /**Returns an array of {@link android.location.GpsSatellite} objects, which represent the current state of the GPS engine. @return {Object {java.lang.Iterable}} the list of satellites */ getSatellites : function( ) {}, /**Returns the maximum number of satellites that can be in the satellite list that can be returned by {@link #getSatellites}(). @return {Number} the maximum number of satellites */ getMaxSatellites : function( ) {}, };