WebViewSessionCapabilities class

Runtime capabilities for owned WebView sessions.

Annotations

Constructors

WebViewSessionCapabilities({Set<WebViewSessionMode> supportedModes = const {WebViewSessionMode.shared}, bool canClose = false, String? privateSessionRestriction, WebViewIncognitoSupport incognitoSupport = WebViewIncognitoSupport.none, bool scopedCookies = false, bool scopedWebsiteData = false})

Properties

canClose → bool
final
hashCode → int
The hash code for this object.
no setterinherited
incognitoSupport → WebViewIncognitoSupport
final
privateSessionRestriction → String?
Explains any native private-session limitation for diagnostic messages.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scopedCookies → bool
Cookie operations address the selected data store, not a default manager. In shared/incognito modes, other views may intentionally share that store.
final
scopedWebsiteData → bool
Website-data operations address the selected store. Individual categories can still be unsupported, as reported by the clearing result.
final
supportedModes → Set<WebViewSessionMode>
final

Methods

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

Operators

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