GnssNavigationMessage.Callback.OnStatusChanged(Int32) 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.
[Android.Runtime.Register("onStatusChanged", "(I)I", "GetOnStatusChanged_IHandler", ApiSince=24)]
public virtual Android.Locations.GnssNavigationStatus OnStatusChanged(int status);
[<Android.Runtime.Register("onStatusChanged", "(I)I", "GetOnStatusChanged_IHandler", ApiSince=24)>]
abstract member OnStatusChanged : int -> Android.Locations.GnssNavigationStatus
override this.OnStatusChanged : int -> Android.Locations.GnssNavigationStatus
Parameters
- status
- Int32
Value is one of the following: STATUS_NOT_SUPPORTED; STATUS_READY; STATUS_LOCATION_DISABLED
Returns
- Attributes
Remarks
This method was deprecated in API level 31. Do not rely on this callback. From Android S onwards this callback will be invoked once with STATUS_READY in all cases for backwards compatibility, and then never invoked again. Use LocationManager APIs if you need to determine if GNSS navigation messages are supported or if location is off, etc...
Returns the latest status of the GNSS Navigation Messages sub-system.
Android reference for android.location.GnssNavigationMessage.Callback.onStatusChanged.
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.