Audio

Version 1.6 - Updated on 11/17/2016

Contents

Introduction

public interface Audio extends File

Stores information of an audio file.

getAlbum

String getAlbum()

  • Returns: The ID3 album field for MP3 files.

getArtist

String getArtist()

  • Returns: The ID3 artist field for MP3 files.

getGenre

String getGenre()

  • Returns: The ID3 genre field for MP3 files.

getYear

int getYear()

  • Returns: The ID3 year field for MP3 files.

getAlbumArtist

String getAlbumArtist()

  • Returns: The Band, Orchestra, or Accompaniment (TPE2) ID3 field.

getCompilation

int getCompilation()

  • Returns: The Compilation (TCP) ID3 tag.

getDuration

long getDuration()

  • Returns: The duration of an audio file.

getTrack

int getTrack()

  • Returns: The ID3 track number field for MP3 files.

getTitle

String getTitle()

  • Returns: Maps to the ID3 title field for MP3 files.

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.