browser/src/main/java/androidx/browser/customtabs/CustomTabsSession.java
public boolean requestPostMessageChannel(Uri postMessageOrigin) {
        try {
            return mService.requestPostMessageChannel(
                    mCallback, postMessageOrigin);
        } catch (RemoteException e) {
            return false;
        }
    }
/**
     * Sends a request to create a two way postMessage channel between the client and the browser.
     *
     * @param postMessageOrigin      A origin that the client is requesting to be identified as
     *                               during the postMessage communication.
     * @return Whether the implementation accepted the request. Note that returning true
     *         here doesn't mean an origin has already been assigned as the validation is
     *         asynchronous.
     */
Sends a request to create a two way postMessage channel between the client and the browser.
@param postMessageOrigin      A origin that the client is requesting to be identified as
during the postMessage communication.
@return Whether the implementation accepted the request. Note that returning true
here doesn't mean an origin has already been assigned as the validation is
asynchronous.
Sends a request to create a two way postMessage channel between the client and the browser . @param postMessageOrigin A origin that the client is requesting to be identified as during the postMessage communication . @return Whether the implementation accepted the request . Note that returning true here doesn ' t mean an origin has already been assigned as the validation is asynchronous .
public boolean requestPostMessageChannel(Uri postMessageOrigin) {
        try {
            return mService.requestPostMessageChannel(
                    mCallback, postMessageOrigin);
        } catch (RemoteException e) {
            return false;
        }
    }
public boolean requestPostMessageChannel ( Uri postMessageOrigin ) { try { return mService . requestPostMessageChannel ( mCallback , postMessageOrigin ) ; } catch ( RemoteException e ) { return false ; } }
Sends a request to create a two way postMessage channel between the client and the browser.
Sends a request to create a two way postMessage channel between the client and the browser .