2018-03-22 03:16:51 +00:00
|
|
|
package cc;
|
|
|
|
|
|
|
|
@:native("disk")
|
|
|
|
extern class Disk {
|
2021-03-22 04:24:10 +00:00
|
|
|
public static function isPresent(side:String):Bool;
|
|
|
|
public static function getLabel(side:String):String;
|
|
|
|
public static function setLabel(side:String, label:String):Void;
|
|
|
|
public static function hasData(side:String):Bool;
|
|
|
|
public static function getMountPath(side:String):String;
|
|
|
|
public static function hasAudio(side:String):Bool;
|
|
|
|
public static function getAudioTitle(side:String):String;
|
|
|
|
public static function playAudio(side:String):Void;
|
|
|
|
public static function stopAudio(side:String):Void;
|
|
|
|
public static function eject(side:String):Void;
|
|
|
|
public static function getID(side:String):Int;
|
|
|
|
}
|