CefCookieManager

Class used for managing cookies. The methods of this class may be called on any thread unless otherwise indicated.

Inheritors

Functions

Link copied to clipboard
abstract fun deleteCookies(url: String, cookieName: String): Boolean
Delete all cookies that match the specified parameters.
Link copied to clipboard
abstract fun dispose()
Removes the native reference from an unused object.
Link copied to clipboard
abstract fun flushStore(handler: CefCompletionCallback): Boolean
Flush the backing store (if any) to disk.
Link copied to clipboard
Returns the global cookie manager.
Link copied to clipboard
open fun getNativeRef(): Long

open fun getNativeRef(identifer: String): Long
Method is called by the native code to get the reference to an previous stored identifier.
Link copied to clipboard
abstract fun setCookie(url: String, cookie: CefCookie): Boolean
Sets a cookie given a valid URL and explicit user-provided cookie attributes.
Link copied to clipboard
open fun setNativeRef(identifer: String, nativeRef: Long)
Method is called by the native code to store a reference to an implemented native JNI counterpart.
Link copied to clipboard
abstract fun visitAllCookies(visitor: CefCookieVisitor): Boolean
Visit all cookies.
Link copied to clipboard
abstract fun visitUrlCookies(url: String, includeHttpOnly: Boolean, visitor: CefCookieVisitor): Boolean
Visit a subset of cookies.