Language

GnssMeasurementCallbackStatus Enum

Definition

public enum GnssMeasurementCallbackStatus
type GnssMeasurementCallbackStatus = 
Inheritance
GnssMeasurementCallbackStatus

Fields

Name Value Description
NotSupported 0

This constant was deprecated in API level 31. Do not use.

The system does not support tracking of GNSS Measurements.

This status will not change in the future.

Android reference for android.location.GnssMeasurementsEvent.Callback.STATUS_NOT_SUPPORTED.

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.

Ready 1

This constant was deprecated in API level 31. Do not use.

GNSS Measurements are successfully being tracked, it will receive updates once they are available.

Android reference for android.location.GnssMeasurementsEvent.Callback.STATUS_READY.

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.

LocationDisabled 2

This constant was deprecated in API level 31. Do not use.

GPS provider or Location is disabled, updates will not be received until they are enabled.

Android reference for android.location.GnssMeasurementsEvent.Callback.STATUS_LOCATION_DISABLED.

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.

NotAllowed 3

This constant was deprecated in API level 31. Do not use.

The client is not allowed to register for GNSS Measurements in general or in the requested mode.

Such a status is returned when a client tries to request a functionality from the GNSS chipset while another client has an ongoing request that does not allow such functionality to be performed.

If such a status is received, one would try again at a later time point where no other client is having a conflicting request.

Android reference for android.location.GnssMeasurementsEvent.Callback.STATUS_NOT_ALLOWED.

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.

Remarks

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.

Applies to