interface RecordingModalOptions {
    isRecordingModalVisible: boolean;
    onClose: (() => void);
    backgroundColor?: string;
    position?:
        | "center"
        | "topLeft"
        | "topRight"
        | "bottomLeft"
        | "bottomRight";
    confirmRecording: ConfirmRecordingType;
    startRecording: StartRecordingType;
    parameters: RecordingModalParameters;
}

Properties

isRecordingModalVisible: boolean

Flag to control the visibility of the modal.

onClose: (() => void)

Callback function to handle the closing of the modal.

backgroundColor?: string

Background color of the modal content. Defaults to '#83c0e9'.

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

Position of the modal on the screen. Possible values: 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'center'. Defaults to 'bottomRight'.

confirmRecording: ConfirmRecordingType

Function to confirm recording settings.

startRecording: StartRecordingType

Function to start the recording.

Parameters for configuring the recording.