onRelationshipValidationResult method

void onRelationshipValidationResult(
  1. CustomTabsRelationType? relation,
  2. WebUri? requestedOrigin,
  3. bool result
)

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:

Implementation

void onRelationshipValidationResult(
    CustomTabsRelationType? relation, WebUri? requestedOrigin, bool result) {}