Interface AudioCardOptions

interface AudioCardOptions {
    controlUserMedia?: ((options: ControlMediaOptions) => Promise<void>);
    customStyle?: Partial<CSSStyleDeclaration>;
    name: string;
    barColor?: string;
    textColor?: string;
    imageSource?: string;
    roundedImage?: boolean;
    imageStyle?: Partial<CSSStyleDeclaration>;
    showControls?: boolean;
    showInfo?: boolean;
    videoInfoComponent?: HTMLElement | CustomComponent;
    videoControlsComponent?: HTMLElement | CustomComponent;
    controlsPosition?: ControlsPosition;
    infoPosition?: InfoPosition;
    participant: Participant;
    backgroundColor?: string;
    audioDecibels?: AudioDecibels;
    parameters: AudioCardParameters;
}

Properties

controlUserMedia?: ((options: ControlMediaOptions) => Promise<void>)
customStyle?: Partial<CSSStyleDeclaration>
name: string
barColor?: string
textColor?: string
imageSource?: string
roundedImage?: boolean
imageStyle?: Partial<CSSStyleDeclaration>
showControls?: boolean
showInfo?: boolean
videoInfoComponent?: HTMLElement | CustomComponent
videoControlsComponent?: HTMLElement | CustomComponent
controlsPosition?: ControlsPosition
infoPosition?: InfoPosition
participant: Participant
backgroundColor?: string
audioDecibels?: AudioDecibels