PlatformChromeSafariBrowserEventsMethod enum
List of PlatformChromeSafariBrowserEvents's methods that can be used to check if they are supported or not by the current platform.
Values
- onClosed → const PlatformChromeSafariBrowserEventsMethod
-
Can be used to check if the PlatformChromeSafariBrowserEvents.onClosed method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
- onCompletedInitialLoad → const PlatformChromeSafariBrowserEventsMethod
-
Can be used to check if the PlatformChromeSafariBrowserEvents.onCompletedInitialLoad method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView (Official API - SFSafariViewControllerDelegate.safariViewController)
Parameters - Officially Supported Platforms/Implementations:
didLoadSuccessfully:- iOS WKWebView
Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
- onGreatestScrollPercentageIncreased → const PlatformChromeSafariBrowserEventsMethod
-
Can be used to check if the PlatformChromeSafariBrowserEvents.onGreatestScrollPercentageIncreased method is supported at runtime.
Officially Supported Platforms/Implementations:
Parameters - Officially Supported Platforms/Implementations:
scrollPercentage: all platforms
Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
- onInitialLoadDidRedirect → const PlatformChromeSafariBrowserEventsMethod
-
Can be used to check if the PlatformChromeSafariBrowserEvents.onInitialLoadDidRedirect method is supported at runtime.
Officially Supported Platforms/Implementations:
Parameters - Officially Supported Platforms/Implementations:
url: all platforms
Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
- onMessageChannelReady → const PlatformChromeSafariBrowserEventsMethod
-
Can be used to check if the PlatformChromeSafariBrowserEvents.onMessageChannelReady method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - CustomTabsCallback.onMessageChannelReady)
Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
-
Can be used to check if the PlatformChromeSafariBrowserEvents.onNavigationEvent method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - CustomTabsCallback.onNavigationEvent)
Parameters - Officially Supported Platforms/Implementations:
navigationEvent: all platforms
Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
- onOpened → const PlatformChromeSafariBrowserEventsMethod
-
Can be used to check if the PlatformChromeSafariBrowserEvents.onOpened method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
- onPostMessage → const PlatformChromeSafariBrowserEventsMethod
-
Can be used to check if the PlatformChromeSafariBrowserEvents.onPostMessage method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - CustomTabsCallback.onPostMessage)
Parameters - Officially Supported Platforms/Implementations:
message: all platforms
Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
- onRelationshipValidationResult → const PlatformChromeSafariBrowserEventsMethod
-
Can be used to check if the PlatformChromeSafariBrowserEvents.onRelationshipValidationResult method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - CustomTabsCallback.onRelationshipValidationResult)
Parameters - Officially Supported Platforms/Implementations:
relation: all platformsrequestedOrigin: all platformsresult: all platforms
Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
- onServiceConnected → const PlatformChromeSafariBrowserEventsMethod
-
Can be used to check if the PlatformChromeSafariBrowserEvents.onServiceConnected method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
- onSessionEnded → const PlatformChromeSafariBrowserEventsMethod
-
Can be used to check if the PlatformChromeSafariBrowserEvents.onSessionEnded method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - EngagementSignalsCallback.onSessionEnded)
Parameters - Officially Supported Platforms/Implementations:
didUserInteract: all platforms
Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
- onVerticalScrollEvent → const PlatformChromeSafariBrowserEventsMethod
-
Can be used to check if the PlatformChromeSafariBrowserEvents.onVerticalScrollEvent method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - EngagementSignalsCallback.onVerticalScrollEvent)
Parameters - Officially Supported Platforms/Implementations:
isDirectionUp: all platforms
Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
- onWillOpenInBrowser → const PlatformChromeSafariBrowserEventsMethod
-
Can be used to check if the PlatformChromeSafariBrowserEvents.onWillOpenInBrowser method is supported at runtime.
Officially Supported Platforms/Implementations:
- iOS WKWebView 14.0+ (Official API - SFSafariViewControllerDelegate.safariViewControllerWillOpenInBrowser)
Use the PlatformChromeSafariBrowserEvents.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<
PlatformChromeSafariBrowserEventsMethod> - A constant List of the values in this enum, in order of their declaration.