public class

Genres

extends Model
java.lang.Object
   ↳ java.util.Observable
     ↳ fm.audiobox.core.models.Model
       ↳ fm.audiobox.core.models.Genres

Class Overview

Genres wrapper model.

This is a simple wrapper model to handle genre-grouped media files.

Summary

Fields
protected List<? extends Genre> genres
Public Constructors
Genres()
Public Methods
List<? extends Genre> getGenres()
Gets genres.
static String getPath(String playlistToken)
Use this method to get the unique path of the genre.
[Expand]
Inherited Methods
From class fm.audiobox.core.models.Model
From class java.util.Observable
From class java.lang.Object

Fields

protected List<? extends Genre> genres

Public Constructors

public Genres ()

Public Methods

public List<? extends Genre> getGenres ()

Gets genres.

Returns
  • the genres

public static String getPath (String playlistToken)

Use this method to get the unique path of the genre.

Parameters
playlistToken the token of the playlist to query for the genre.
Returns
  • the path of the genres of this playlist