MediaSFU React Native
    Preparing search index...

    Interface MiniAudioOptions

    Options for rendering a draggable MiniAudio component.

    MiniAudioOptions

    Appearance:

    interface MiniAudioOptions {
        visible?: boolean;
        customStyle?: StyleProp<ViewStyle>;
        name: string;
        showWaveform?: boolean;
        overlayPosition?: OverlayPosition;
        barColor?: string;
        textColor?: string;
        nameTextStyling?: StyleProp<TextStyle>;
        imageSource: string;
        roundedImage?: boolean;
        imageStyle?: StyleProp<ImageStyle>;
    }
    Index

    Properties

    visible?: boolean

    Determines if the component is visible.

    customStyle?: StyleProp<ViewStyle>

    Custom styles for the component container.

    name: string

    The name to display on the audio player.

    showWaveform?: boolean

    Flag to show or hide the waveform animation.

    overlayPosition?: OverlayPosition

    The position of the overlay on the screen.

    barColor?: string

    The color of the waveform bars.

    textColor?: string

    The color of the text.

    nameTextStyling?: StyleProp<TextStyle>

    Custom styles for the name text.

    imageSource: string

    The source URI for the background image.

    roundedImage?: boolean

    Flag to determine if the background image should be rounded.

    imageStyle?: StyleProp<ImageStyle>

    Custom styles for the background image.

    Waveform & Overlay: