IT. Expert System.

Android Reference

GpsStatus


android.location

Class GpsStatus



  • public final class GpsStatus
    extends Object
    This class represents the current state of the GPS engine. This class is used in conjunction with the GpsStatus.Listener interface.
    • Field Detail

      • GPS_EVENT_STARTED

        public static final int GPS_EVENT_STARTED
        Event sent when the GPS system has started.
        See Also:
        Constant Field Values
      • GPS_EVENT_STOPPED

        public static final int GPS_EVENT_STOPPED
        Event sent when the GPS system has stopped.
        See Also:
        Constant Field Values
      • GPS_EVENT_FIRST_FIX

        public static final int GPS_EVENT_FIRST_FIX
        Event sent when the GPS system has received its first fix since starting. Call getTimeToFirstFix() to find the time from start to first fix.
        See Also:
        Constant Field Values
      • GPS_EVENT_SATELLITE_STATUS

        public static final int GPS_EVENT_SATELLITE_STATUS
        Event sent periodically to report GPS satellite status. Call getSatellites() to retrieve the status for each satellite.
        See Also:
        Constant Field Values
    • Method Detail

      • getTimeToFirstFix

        public int getTimeToFirstFix()
        Returns the time required to receive the first fix since the most recent restart of the GPS engine.
        Returns:
        time to first fix in milliseconds
      • getSatellites

        public Iterable<GpsSatellite> getSatellites()
        Returns an array of GpsSatellite objects, which represent the current state of the GPS engine.
        Returns:
        the list of satellites
      • getMaxSatellites

        public int getMaxSatellites()
        Returns the maximum number of satellites that can be in the satellite list that can be returned by getSatellites().
        Returns:
        the maximum number of satellites


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1198 / 96494751. Delta: 0.07406 с