Interface BridgeRequest

Web -> Native request

interface BridgeRequest {
    id: string;
    method: BridgeMethod;
    params?: Record<string, any>;
}

Properties

Properties

id: string

Unique callback ID for matching response

method: BridgeMethod

Method name to invoke on native side

params?: Record<string, any>

Optional parameters for the method