- name
- the provider name
- requiresNetwork
- Documentation for this section has not yet been entered.
- requiresSatellite
- Documentation for this section has not yet been entered.
- requiresCell
- Documentation for this section has not yet been entered.
- hasMonetaryCost
- Documentation for this section has not yet been entered.
- supportsAltitude
- Documentation for this section has not yet been entered.
- supportsSpeed
- Documentation for this section has not yet been entered.
- supportsBearing
- Documentation for this section has not yet been entered.
- powerRequirement
- Documentation for this section has not yet been entered.
- accuracy
- Documentation for this section has not yet been entered.
Type Reason Java.Lang.SecurityException if the ACCESS_MOCK_LOCATION permission is not present or the NoType:android/provider/Settings$Secure;Href=../../../reference/android/provider/Settings.Secure.html#ALLOW_MOCK_LOCATION system setting is not enabled Java.Lang.IllegalArgumentException if a provider with the given name already exists
Creates a mock location provider and adds it to the set of active providers.