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。

适用于 . 的 android.webkit.CookieManager.flush()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于