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) shortgetMediaData(String id) getMediaDataFromIndex(short index) static bytegetMediaTypeForCategory(String category) voidhandleLegacyListenedLines(IsoPlayer player) booleanhasListenedToAll(IsoPlayer player, MediaData mediaData) booleanhasListenedToLine(IsoPlayer player, String guid) voidinit()voidload()static voidvoidsave()voidstatic 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
-