PlatformChromeSafariBrowserMethod enum

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

Inheritance
Available extensions

Values

addMenuItem → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.addMenuItem method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android Chrome Custom Tabs:
    • Not available in a Trusted Web Activity.
  • iOS SFSafariViewController

Parameters - Officially Supported Platforms/Implementations:

  • menuItem: all platforms

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

addMenuItems → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.addMenuItems method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android Chrome Custom Tabs:
    • Not available in a Trusted Web Activity.
  • iOS SFSafariViewController

Parameters - Officially Supported Platforms/Implementations:

  • menuItems: all platforms

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

clearWebsiteData → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.clearWebsiteData method is supported at runtime.

Officially Supported Platforms/Implementations:

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

close → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.close method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android Chrome Custom Tabs
  • iOS SFSafariViewController

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

dispose → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.dispose method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android Chrome Custom Tabs
  • iOS SFSafariViewController

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

getMaxToolbarItems → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.getMaxToolbarItems method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android Chrome Custom Tabs

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

getPackageName → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.getPackageName method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • packages: all platforms
  • ignoreDefault: all platforms

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

invalidatePrewarmingToken → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.invalidatePrewarmingToken method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • prewarmingToken: all platforms

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

isAvailable → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.isAvailable method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android Chrome Custom Tabs
  • iOS SFSafariViewController

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

isEngagementSignalsApiAvailable → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.isEngagementSignalsApiAvailable method is supported at runtime.

Officially Supported Platforms/Implementations:

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

isOpened → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.isOpened method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android Chrome Custom Tabs
  • iOS SFSafariViewController

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

launchUrl → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.launchUrl method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android Chrome Custom Tabs

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • headers: all platforms
  • otherLikelyURLs: all platforms
  • referrer: all platforms

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

mayLaunchUrl → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.mayLaunchUrl method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • otherLikelyURLs: all platforms

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

open → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.open method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android Chrome Custom Tabs
  • iOS SFSafariViewController

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • headers:
    • Android Chrome Custom Tabs
  • otherLikelyURLs:
    • Android Chrome Custom Tabs
  • referrer:
    • Android Chrome Custom Tabs
  • settings: all platforms

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

postMessage → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.postMessage method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • message: all platforms

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

prewarmConnections → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.prewarmConnections method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • URLs: all platforms

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

requestPostMessageChannel → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.requestPostMessageChannel method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • sourceOrigin: all platforms
  • targetOrigin: all platforms

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

setActionButton → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.setActionButton method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • actionButton: all platforms

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

setSecondaryToolbar → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.setSecondaryToolbar method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • secondaryToolbar: all platforms

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

updateActionButton → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.updateActionButton method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • icon: all platforms
  • description: all platforms

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

updateSecondaryToolbar → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.updateSecondaryToolbar method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • secondaryToolbar: all platforms

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

validateRelationship → const PlatformChromeSafariBrowserMethod

Can be used to check if the PlatformChromeSafariBrowser.validateRelationship method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • relation: all platforms
  • origin: all platforms

Use the PlatformChromeSafariBrowser.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<PlatformChromeSafariBrowserMethod>
A constant List of the values in this enum, in order of their declaration.