Aracılığıyla paylaş


WebSettings.SetGeolocationDatabasePath(String) Method

Definition

Sets the path where the Geolocation databases should be saved.

[Android.Runtime.Register("setGeolocationDatabasePath", "(Ljava/lang/String;)V", "GetSetGeolocationDatabasePath_Ljava_lang_String_Handler")]
public abstract void SetGeolocationDatabasePath (string? databasePath);
[<Android.Runtime.Register("setGeolocationDatabasePath", "(Ljava/lang/String;)V", "GetSetGeolocationDatabasePath_Ljava_lang_String_Handler")>]
abstract member SetGeolocationDatabasePath : string -> unit

Parameters

databasePath
String

a path to the directory where databases should be saved.

Attributes

Remarks

Sets the path where the Geolocation databases should be saved. In order for Geolocation permissions and cached positions to be persisted, this method must be called with a path to which the application can write.

This member is deprecated. Geolocation database are managed by the implementation and calling this method will have no effect.

Java documentation for android.webkit.WebSettings.setGeolocationDatabasePath(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