Back to project page music-tag.
The source code is released under:
Apache License
If you think the Android project music-tag listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package binauld.pierre.musictag.item; /* w w w . j a va 2 s.c om*/ import binauld.pierre.musictag.decoder.BitmapDecoder; /** * Item from audio library (Song or folder). */ public interface LibraryItem { /** * Check if the item contain an audio file. * @return Return true if it is an audio file. */ public boolean isAudioItem(); /** * Get the primary information of the item (Like list_item_placeholder title or folder name). * This information should be used for sorting and main display in the list. * @return A String of the primary information. */ String getPrimaryInformation(); /** * Get the primary information of the item (Like artist name) * This information should be displayed in addition to the main display. * @return A String of the secondary information. */ String getSecondaryInformation(); /** * Return the item's parent. * @return The parent. */ NodeItem getParent(); /** * Get the bitmap decoder. * @return The bitmap decoder. */ BitmapDecoder getDecoder(); /** * Allow to change the bitmap decoder. * @param bitmapDecoder The bitmap decoder. */ void switchDecoder(BitmapDecoder bitmapDecoder); }