WebSettings.SetGeolocationDatabasePath(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
deprecated
設定地理定位資料庫應該儲存的路徑。
[Android.Runtime.Register("setGeolocationDatabasePath", "(Ljava/lang/String;)V", "GetSetGeolocationDatabasePath_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public abstract void SetGeolocationDatabasePath(string? databasePath);
[<Android.Runtime.Register("setGeolocationDatabasePath", "(Ljava/lang/String;)V", "GetSetGeolocationDatabasePath_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetGeolocationDatabasePath : string -> unit
參數
- databasePath
- String
一條通往資料庫儲存目錄的路徑。
- 屬性
備註
設定地理定位資料庫應該儲存的路徑。 為了讓地理位置權限和快取位置持續存在,必須呼叫此方法並附帶應用程式可寫入的路徑。
此會員已被棄用。 地理定位資料庫由實作管理,呼叫此方法不會有影響。
Java 文件 android.webkit.WebSettings.setGeolocationDatabasePath(java.lang.String)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。