FAILURE_DISALLOWED property

CustomTabsPostMessageResultType FAILURE_DISALLOWED
final

Indicates that the postMessage request was not allowed due to a bad argument or requesting at a disallowed time like when in background.

Officially Supported Platforms/Implementations:

  • Android WebView

Implementation

static final FAILURE_DISALLOWED =
    CustomTabsPostMessageResultType._internalMultiPlatform(-1, () {
      switch (defaultTargetPlatform) {
        case TargetPlatform.android:
          return -1;
        default:
          break;
      }
      return null;
    });