語言

CookieManager.Flush 方法

定義

確保目前透過 getCookie API 存取的所有 Cookie 都寫入持久儲存。

[Android.Runtime.Register("flush", "()V", "GetFlushHandler")]
public abstract void Flush();
[<Android.Runtime.Register("flush", "()V", "GetFlushHandler")>]
abstract member Flush : unit -> unit
屬性

備註

確保目前透過 getCookie API 存取的所有 Cookie 都寫入持久儲存。 此通話會阻擋來電者,直到通話完成並可能執行 I/O。

Java 文件 android.webkit.CookieManager.flush()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於