MediaSFU React Native (Expo)
    Preparing search index...

    Interface TranslationSubscribedOptions

    interface TranslationSubscribedOptions {
        data: TranslationSubscribedData;
        updateListenPreferences?: (
            updater: (prev: Map<string, string>) => Map<string, string>,
        ) => void;
        updateTranslationProducerMap?: (
            updater: (prev: TranslationProducerMap) => TranslationProducerMap,
        ) => void;
        startConsumingTranslation?: (
            producerId: string,
            speakerId: string,
            language: string,
        ) => Promise<void>;
        showAlert?: ShowAlert;
    }
    Index

    Properties

    updateListenPreferences?: (
        updater: (prev: Map<string, string>) => Map<string, string>,
    ) => void
    updateTranslationProducerMap?: (
        updater: (prev: TranslationProducerMap) => TranslationProducerMap,
    ) => void
    startConsumingTranslation?: (
        producerId: string,
        speakerId: string,
        language: string,
    ) => Promise<void>
    showAlert?: ShowAlert