PlatformChromeSafariBrowserEvents class abstract

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
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
onClosed() → void
Event fired when the PlatformChromeSafariBrowser is closed.
onCompletedInitialLoad(bool? didLoadSuccessfully) → void
Event fired when the initial URL load is complete.
onGreatestScrollPercentageIncreased(int scrollPercentage) → void
Called when a user has reached a greater scroll percentage on the page. The greatest scroll percentage is reset if the user navigates to a different page. If the current page's total height changes, this method will be called again only if the scroll progress reaches a higher percentage based on the new and current height of the page.
onInitialLoadDidRedirect(WebUri? url) → void
Event fired when the initial URL load is complete.
onMessageChannelReady() → void
Called when the PlatformChromeSafariBrowser has requested a postMessage channel through PlatformChromeSafariBrowser.requestPostMessageChannel and the channel is ready for sending and receiving messages on both ends.
onNavigationEvent(CustomTabsNavigationEventType? navigationEvent) → void
Event fired when a navigation event happens.
onOpened() → void
Event fired when the PlatformChromeSafariBrowser is opened.
onPostMessage(String message) → void
Called when a tab controlled by this PlatformChromeSafariBrowser has sent a postMessage. If PlatformChromeSafariBrowser.postMessage is called from a single thread, then the messages will be posted in the same order. When received on the client side, it is the client's responsibility to preserve the ordering further.
onRelationshipValidationResult(CustomTabsRelationType? relation, WebUri? requestedOrigin, bool result) → void
Event fired when a relationship validation result is available.
onServiceConnected() → void
Event fired when the when connecting from Android Custom Tabs Service.
onSessionEnded(bool didUserInteract) → void
Called when a CustomTabsSession is ending or when no further Engagement Signals callbacks are expected to report whether any user action has occurred during the session.
onVerticalScrollEvent(bool isDirectionUp) → void
Called when a user scrolls the tab.
onWillOpenInBrowser() → void
Event fired when the user opens the current page in the default browser by tapping the toolbar button.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited