IT. Expert System.

Android Reference

LocationListener


android.location

Interface LocationListener

    • Method Detail

      • onLocationChanged

        void onLocationChanged(Location location)
        Called when the location has changed.

        There are no restrictions on the use of the supplied Location object.

        Parameters:
        location - The new location, as a Location object.
      • onStatusChanged

        void onStatusChanged(String provider,
                           int status,
                           Bundle extras)
        Called when the provider status changes. This method is called when a provider is unable to fetch a location or if the provider has recently become available after a period of unavailability.
        Parameters:
        provider - the name of the location provider associated with this update.
        status - LocationProvider.OUT_OF_SERVICE if the provider is out of service, and this is not expected to change in the near future; LocationProvider.TEMPORARILY_UNAVAILABLE if the provider is temporarily unavailable but is expected to be available shortly; and LocationProvider.AVAILABLE if the provider is currently available.
        extras - an optional Bundle which will contain provider specific status variables.

        A number of common key/value pairs for the extras Bundle are listed below. Providers that use any of the keys on this list must provide the corresponding value as described below.

        • satellites - the number of satellites used to derive the fix
      • onProviderEnabled

        void onProviderEnabled(String provider)
        Called when the provider is enabled by the user.
        Parameters:
        provider - the name of the location provider associated with this update.
      • onProviderDisabled

        void onProviderDisabled(String provider)
        Called when the provider is disabled by the user. If requestLocationUpdates is called on an already disabled provider, this method is called immediately.
        Parameters:
        provider - the name of the location provider associated with this update.


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: 818 / 158859866. Delta: 0.07588 с