LocationManager.ClearTestProviderEnabled(String) 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.
Equivalent to calling #setTestProviderEnabled(String, boolean)
to disable a test
provider.
[Android.Runtime.Register("clearTestProviderEnabled", "(Ljava/lang/String;)V", "GetClearTestProviderEnabled_Ljava_lang_String_Handler")]
public virtual void ClearTestProviderEnabled (string provider);
[<Android.Runtime.Register("clearTestProviderEnabled", "(Ljava/lang/String;)V", "GetClearTestProviderEnabled_Ljava_lang_String_Handler")>]
abstract member ClearTestProviderEnabled : string -> unit
override this.ClearTestProviderEnabled : string -> unit
Parameters
- provider
- String
the provider name
- Attributes
Exceptions
if OpstrMockLocation is not set to ModeAllowed for your app.
if no provider with the given name exists
Remarks
Equivalent to calling #setTestProviderEnabled(String, boolean)
to disable a test provider.
This member is deprecated. Use #setTestProviderEnabled(String, boolean)
instead.
Java documentation for android.location.LocationManager.clearTestProviderEnabled(java.lang.String)
.
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.