Aracılığıyla paylaş


Settings.Secure.AllowMockLocation Field

Definition

Setting to allow mock locations and location provider status to be injected into the LocationManager service for testing purposes during application development.

[Android.Runtime.Register("ALLOW_MOCK_LOCATION")]
public const string AllowMockLocation;
[<Android.Runtime.Register("ALLOW_MOCK_LOCATION")>]
val mutable AllowMockLocation : string

Field Value

Attributes

Remarks

Setting to allow mock locations and location provider status to be injected into the LocationManager service for testing purposes during application development. These locations and status values override actual location and status information generated by network, gps, or other location providers.

This member is deprecated. This settings is not used anymore.

Java documentation for android.provider.Settings.Secure.ALLOW_MOCK_LOCATION.

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