onRelationshipValidationResult method

  1. @override
void onRelationshipValidationResult(
  1. CustomTabsRelationType? relation,
  2. WebUri? requestedOrigin,
  3. 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:

Parameters - Officially Supported Platforms/Implementations:

  • relation: all platforms
  • requestedOrigin: all platforms
  • result: 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,
) {}