setSecondaryToolbar method
- ChromeSafariBrowserSecondaryToolbar secondaryToolbar
Sets the remote views displayed in the secondary toolbar in a custom tab.
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
void setSecondaryToolbar(
ChromeSafariBrowserSecondaryToolbar secondaryToolbar,
) => platform.setSecondaryToolbar(secondaryToolbar);