onNavigationEvent method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'CustomTabsCallback.onNavigationEvent', apiUrl: 'https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsCallback#onNavigationEvent(int,android.os.Bundle)')])
void onNavigationEvent(
  1. CustomTabsNavigationEventType? navigationEvent
)

Event fired when a navigation event happens.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • navigationEvent: all platforms

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

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(
      apiName: 'CustomTabsCallback.onNavigationEvent',
      apiUrl:
          'https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsCallback#onNavigationEvent(int,android.os.Bundle)',
    ),
  ],
)
void onNavigationEvent(CustomTabsNavigationEventType? navigationEvent) {}