Share via


LocationManager.ClearTestProviderLocation(String) Method

Definition

Does nothing.

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

Does nothing.

This member is deprecated. This method has always been a no-op, and may be removed in the future.

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