isOpened method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform()])
bool isOpened()

Returns true if the PlatformChromeSafariBrowser instance is opened, otherwise false.

Officially Supported Platforms/Implementations:

  • Android Chrome Custom Tabs
  • iOS SFSafariViewController

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

Implementation

@SupportedPlatforms(platforms: [AndroidPlatform(), IOSPlatform()])
bool isOpened() {
  throw UnimplementedError(
    'isOpened is not implemented on the current platform',
  );
}