foo-webview-sdk
    Preparing search index...

    Interface WindowSendMessageParams

    Parameters for window.sendMessage. Send a message to one window, delivered as window:message with { sourceWindowId, message }. Fails with NOT_FOUND when no window has that id.

    interface WindowSendMessageParams {
        message: JsonValue;
        targetWindowId: string;
    }
    Index
    message: JsonValue

    The message, delivered as message of the event. Passing null is treated as omitted.

    targetWindowId: string

    Id of the receiving window.