PlatformCookieManagerMethod enum

List of PlatformCookieManager's methods that can be used to check if they are supported or not by the current platform.

Inheritance
Available extensions

Values

addCookieChangedListener → const PlatformCookieManagerMethod

Can be used to check if the PlatformCookieManager.addCookieChangedListener method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • listener: all platforms

Use the PlatformCookieManager.isMethodSupported method to check if this method is supported at runtime.

deleteAllCookies → const PlatformCookieManagerMethod

Can be used to check if the PlatformCookieManager.deleteAllCookies method is supported at runtime.

Officially Supported Platforms/Implementations:

Use the PlatformCookieManager.isMethodSupported method to check if this method is supported at runtime.

deleteCookie → const PlatformCookieManagerMethod

Can be used to check if the PlatformCookieManager.deleteCookie method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • name: all platforms
  • path: all platforms
  • domain: all platforms
  • webViewController:
    • macOS WKWebView
    • iOS WKWebView
    • Web <iframe> but requires same origin
    • Windows WebView2

Use the PlatformCookieManager.isMethodSupported method to check if this method is supported at runtime.

deleteCookies → const PlatformCookieManagerMethod

Can be used to check if the PlatformCookieManager.deleteCookies method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • path: all platforms
  • domain: all platforms
  • webViewController:
    • macOS WKWebView
    • iOS WKWebView
    • Web <iframe> but requires same origin
    • Windows WebView2

Use the PlatformCookieManager.isMethodSupported method to check if this method is supported at runtime.

flush → const PlatformCookieManagerMethod

Can be used to check if the PlatformCookieManager.flush method is supported at runtime.

Officially Supported Platforms/Implementations:

Use the PlatformCookieManager.isMethodSupported method to check if this method is supported at runtime.

getAllCookies → const PlatformCookieManagerMethod

Can be used to check if the PlatformCookieManager.getAllCookies method is supported at runtime.

Officially Supported Platforms/Implementations:

Use the PlatformCookieManager.isMethodSupported method to check if this method is supported at runtime.

getCookie → const PlatformCookieManagerMethod

Can be used to check if the PlatformCookieManager.getCookie method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • name: all platforms
  • webViewController:
    • macOS WKWebView
    • iOS WKWebView
    • Web <iframe> but requires same origin
    • Windows WebView2

Use the PlatformCookieManager.isMethodSupported method to check if this method is supported at runtime.

getCookies → const PlatformCookieManagerMethod

Can be used to check if the PlatformCookieManager.getCookies method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • webViewController:
    • macOS WKWebView
    • iOS WKWebView
    • Web <iframe> but requires same origin
    • Windows WebView2

Use the PlatformCookieManager.isMethodSupported method to check if this method is supported at runtime.

removeCookieChangedListener → const PlatformCookieManagerMethod

Can be used to check if the PlatformCookieManager.removeCookieChangedListener method is supported at runtime.

Officially Supported Platforms/Implementations:

  • iOS WKWebView 11.0+
  • macOS WKWebView 10.13+

Use the PlatformCookieManager.isMethodSupported method to check if this method is supported at runtime.

removeSessionCookies → const PlatformCookieManagerMethod

Can be used to check if the PlatformCookieManager.removeSessionCookies method is supported at runtime.

Officially Supported Platforms/Implementations:

Use the PlatformCookieManager.isMethodSupported method to check if this method is supported at runtime.

setCookie → const PlatformCookieManagerMethod

Can be used to check if the PlatformCookieManager.setCookie method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • name: all platforms
  • value: all platforms
  • path: all platforms
  • domain: all platforms
  • expiresDate: all platforms
  • maxAge: all platforms
  • isSecure: all platforms
  • isHttpOnly: all platforms
  • sameSite: all platforms
  • webViewController:
    • macOS WKWebView
    • iOS WKWebView
    • Web <iframe> but requires same origin
    • Windows WebView2

Use the PlatformCookieManager.isMethodSupported method to check if this method is supported at runtime.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<PlatformCookieManagerMethod>
A constant List of the values in this enum, in order of their declaration.