updateSecondaryToolbar method
- ChromeSafariBrowserSecondaryToolbar secondaryToolbar
Sets or updates (if already present) the Remote Views of the secondary toolbar in an existing custom tab session.
Officially Supported Platforms/Implementations:
- Android Chrome Custom Tabs (Official API - CustomTabsIntent.Builder.setSecondaryToolbarViews):
- Not available in a Trusted Web Activity.
Parameters - Officially Supported Platforms/Implementations:
secondaryToolbar: all platforms
Use the PlatformChromeSafariBrowser.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<void> updateSecondaryToolbar(
ChromeSafariBrowserSecondaryToolbar secondaryToolbar,
) => platform.updateSecondaryToolbar(secondaryToolbar);