GpsStatus.IListener.OnGpsStatusChanged(GpsEvent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called to report changes in the GPS status.
[Android.Runtime.Register("onGpsStatusChanged", "(I)V", "GetOnGpsStatusChanged_IHandler:Android.Locations.GpsStatus/IListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnGpsStatusChanged (Android.Locations.GpsEvent e);
[<Android.Runtime.Register("onGpsStatusChanged", "(I)V", "GetOnGpsStatusChanged_IHandler:Android.Locations.GpsStatus/IListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnGpsStatusChanged : Android.Locations.GpsEvent -> unit
Parameters
- e
- GpsEvent
event number for this notification
- Attributes
Remarks
Called to report changes in the GPS status. The event number is one of: <ul> <li> GpsStatus#GPS_EVENT_STARTED
<li> GpsStatus#GPS_EVENT_STOPPED
<li> GpsStatus#GPS_EVENT_FIRST_FIX
<li> GpsStatus#GPS_EVENT_SATELLITE_STATUS
</ul>
When this method is called, the client should call LocationManager#getGpsStatus
to get additional status information.
Java documentation for android.location.GpsStatus.Listener.onGpsStatusChanged(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.