LocationProviderDict

Simple object describing a location provider.

The accuracy and power values correspond to constants defined in the Android API. See android.location.Criteria in the Android API Reference.

These values are generalizations. In general, a provider with coarse accuracy will provide less accurate results than a provider with fine accuracy, and a provider with high power requirements will use more battery power than a provider with low power requirements.

  • 0.8
  • 0.8
  • 0.8

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

LocationProviderDict
accuracy : Number

Accuracy of the location provider, either fine (1) or coarse (2).

Accuracy of the location provider, either fine (1) or coarse (2).

LocationProviderDict
name : String

Name of the location provider.

Name of the location provider.

LocationProviderDict
power : Number

Power consumption for this provider, either low (1), medium (2), or high (3).

Power consumption for this provider, either low (1), medium (2), or high (3).