onRelationshipValidationResult method
- CustomTabsRelationType? relation,
- WebUri? requestedOrigin,
- bool result
override
Event fired when a relationship validation result is available.
relation - Relation for which the result is available. Value previously passed to PlatformChromeSafariBrowser.validateRelationship.
requestedOrigin - Origin requested. Value previously passed to PlatformChromeSafariBrowser.validateRelationship.
result - Whether the relation was validated.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - CustomTabsCallback.onRelationshipValidationResult)
Parameters - Officially Supported Platforms/Implementations:
relation: all platformsrequestedOrigin: all platformsresult: all platforms
Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
Implementation
@override
void onRelationshipValidationResult(
CustomTabsRelationType? relation,
WebUri? requestedOrigin,
bool result,
) {}