Udostępnij za pośrednictwem


Location.Provider Property

Definition

Returns the name of the provider associated with this location. -or- Sets the name of the provider associated with this location

public virtual string? Provider { [Android.Runtime.Register("getProvider", "()Ljava/lang/String;", "GetGetProviderHandler")] get; [Android.Runtime.Register("setProvider", "(Ljava/lang/String;)V", "GetSetProvider_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getProvider", "()Ljava/lang/String;", "GetGetProviderHandler")>]
[<set: Android.Runtime.Register("setProvider", "(Ljava/lang/String;)V", "GetSetProvider_Ljava_lang_String_Handler")>]
member this.Provider : string with get, set

Property Value

the name of the provider

Attributes

Remarks

Property getter documentation:

Returns the name of the provider associated with this location.

Java documentation for android.location.Location.getProvider().

Property setter documentation:

Sets the name of the provider associated with this location

Java documentation for android.location.Location.setProvider(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