PlatformWebViewCookieManager class abstract
Interface for a platform implementation of a cookie manager.
Platform implementations should extend this class rather than implement it
as webview_flutter
does not consider newly added methods to be breaking
changes. Extending this class (using extends
) ensures that the subclass
will get the default implementation, while platform implementations that
implements
this interface will be broken by newly added
PlatformWebViewCookieManager methods.
- Inheritance
-
- Object
- PlatformInterface
- PlatformWebViewCookieManager
Constructors
- PlatformWebViewCookieManager(PlatformWebViewCookieManagerCreationParams params)
-
Creates a new PlatformWebViewCookieManager
factory
- PlatformWebViewCookieManager.implementation(PlatformWebViewCookieManagerCreationParams params)
- Used by the platform implementation to create a new PlatformWebViewCookieManager.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- params → PlatformWebViewCookieManagerCreationParams
-
The parameters used to initialize the PlatformWebViewCookieManager.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearCookies(
) → Future< bool> -
Clears all cookies for all
WebView
instances. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCookie(
WebViewCookie cookie) → Future< void> -
Sets a cookie for all
WebView
instances. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited