MediaAudio: {
    artist?: string;
    attributes?: MetadataAttribute[];
    cover?: URI;
    credits?: string;
    duration?: number;
    genre?: string;
    item: URI;
    kind?: MediaAudioKind;
    license?: MetadataLicenseType;
    lyrics?: URI;
    recordLabel?: string;
    type: MediaAudioMimeType;
}

Type declaration

  • Optional artist?: string

    The name of the artist.

  • Optional attributes?: MetadataAttribute[]

    A bag of attributes that can be used to store any kind of metadata that is not currently supported by the standard.

  • Optional cover?: URI

    The cover image for the audio.

  • Optional credits?: string

    The credits for the audio.

  • Optional duration?: number

    How long the the audio is in seconds.

  • Optional genre?: string

    The genre of the audio.

  • item: URI

    The location of the file.

  • Optional kind?: MediaAudioKind

    The type of audio.

  • Optional license?: MetadataLicenseType

    The license for the audio.

  • Optional lyrics?: URI

    The lyrics for the audio.

  • Optional recordLabel?: string

    The record label for the audio.

  • type: MediaAudioMimeType

    The mime type of the audio.