interface PlaylistSoundData {
    _id: string;
    name: string;
    description: string;
    path: string;
    channel: string;
    playing: boolean;
    pausedTime: number;
    repeat: boolean;
    volume: number;
    fade: number;
    sort: number;
    flags: object;
}

Properties

_id: string

The _id which uniquely identifies this PlaylistSound document

name: string

The name of this sound

description: string

The description of this sound

path: string

The audio file path that is played by this sound

channel: string

A channel in CONST.AUDIO_CHANNELS where this sound is played

playing: boolean

Is this sound currently playing?

pausedTime: number

The time in seconds at which playback was paused

repeat: boolean

Does this sound loop?

volume: number

The audio volume of the sound, from 0 to 1

fade: number

A duration in milliseconds to fade volume transition

sort: number

The sort order of the PlaylistSound relative to others in the same collection

flags: object

An object of optional key/value flags