Dela via


LocationManager.ClearTestProviderStatus(String) Method

Definition

This method has no effect as provider status has been deprecated and is no longer supported.

[Android.Runtime.Register("clearTestProviderStatus", "(Ljava/lang/String;)V", "GetClearTestProviderStatus_Ljava_lang_String_Handler")]
public virtual void ClearTestProviderStatus (string provider);
[<Android.Runtime.Register("clearTestProviderStatus", "(Ljava/lang/String;)V", "GetClearTestProviderStatus_Ljava_lang_String_Handler")>]
abstract member ClearTestProviderStatus : string -> unit
override this.ClearTestProviderStatus : 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

This method has no effect as provider status has been deprecated and is no longer supported.

This member is deprecated. This method has no effect.

Java documentation for android.location.LocationManager.clearTestProviderStatus(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.

Applies to