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

    Interface RecordingModalOptions

    Interface defining the options for the RecordingModal component.

    RecordingModalOptions

    Display Control:

    interface RecordingModalOptions {
        isRecordingModalVisible: boolean;
        onClose: () => void;
        backgroundColor?: string;
        position?: "center" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
        confirmRecording: ConfirmRecordingType;
        startRecording: StartRecordingType;
        parameters: RecordingModalParameters;
        style?: object;
        renderContent?: (
            options: {
                defaultContent: Element;
                dimensions: { width: number; height: number };
            },
        ) => Element;
        renderContainer?: (
            options: {
                defaultContainer: Element;
                dimensions: { width: number; height: number };
            },
        ) => ReactNode;
    }
    Index

    Properties

    isRecordingModalVisible: boolean

    Whether the modal is currently visible

    onClose: () => void

    Callback when modal is closed

    backgroundColor?: string

    Background color of the modal content

    position?: "center" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight"

    Screen position where the modal should appear

    Recording Actions:

    confirmRecording: ConfirmRecordingType

    Function to confirm and apply recording settings

    startRecording: StartRecordingType

    Function to start the recording with configured settings

    Configuration:

    Recording configuration parameters and state

    Advanced Render Overrides:

    style?: object

    Custom styles for modal container

    renderContent?: (
        options: {
            defaultContent: Element;
            dimensions: { width: number; height: number };
        },
    ) => Element

    Function to wrap or replace the default modal content

    renderContainer?: (
        options: {
            defaultContainer: Element;
            dimensions: { width: number; height: number };
        },
    ) => ReactNode

    Function to wrap or replace the entire modal container