Class RecordedMedia
java.lang.Object
zombie.radio.media.RecordedMedia
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllMediaForCategory
(String category) getAllMediaForType
(byte type) short
getMediaData
(String id) getMediaDataFromIndex
(short index) static byte
getMediaTypeForCategory
(String category) void
handleLegacyListenedLines
(IsoPlayer player) boolean
hasListenedToAll
(IsoPlayer player, MediaData mediaData) boolean
hasListenedToLine
(IsoPlayer player, String guid) void
init()
void
load()
static void
void
save()
void
static String
-
Field Details
-
DISABLE_LINE_LEARNING
public static boolean DISABLE_LINE_LEARNING -
VERSION1
public static final int VERSION1- See Also:
-
VERSION2
public static final int VERSION2- See Also:
-
VERSION
public static final int VERSION- See Also:
-
SAVE_FILE
- See Also:
-
-
Constructor Details
-
RecordedMedia
public RecordedMedia()
-
-
Method Details
-
init
public void init() -
getMediaTypeForCategory
-
getCategories
-
getAllMediaForType
-
getAllMediaForCategory
-
register
-
getMediaDataFromIndex
-
getIndexForMediaData
-
getMediaData
-
getRandomFromCategory
-
load
- Throws:
IOException
-
save
- Throws:
IOException
-
toAscii
-
hasListenedToLine
-
hasListenedToAll
-
sendRequestData
-
receiveRequestData
-
handleLegacyListenedLines
-