Bitmovin Player React Native SDK - v1.1.0
    Preparing search index...

    Interface CustomMessageHandlerProps

    interface CustomMessageHandlerProps {
        onReceivedAsynchronousMessage: (
            message: string,
            data: undefined | string,
        ) => void;
        onReceivedSynchronousMessage: (
            message: string,
            data: undefined | string,
        ) => undefined | string;
    }
    Index

    Properties

    onReceivedAsynchronousMessage: (
        message: string,
        data: undefined | string,
    ) => void

    A function that will be called when the Player UI sends an asynchronous message to the integration.

    onReceivedSynchronousMessage: (
        message: string,
        data: undefined | string,
    ) => undefined | string

    A function that will be called when the Player UI sends a synchronous message to the integration.