Class Units
- java.lang.Object
-
- com.sedmelluq.discord.lavaplayer.tools.Units
-
public class Units extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static longBITRATE_UNKNOWNstatic longCONTENT_LENGTH_UNKNOWNNot a negative number, so that we would not need to test for it separately when comparing.static longDURATION_MS_UNKNOWNstatic longDURATION_SEC_UNKNOWN
-
Constructor Summary
Constructors Constructor Description Units()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longsecondsToMillis(long seconds)
-
-
-
Field Detail
-
CONTENT_LENGTH_UNKNOWN
public static final long CONTENT_LENGTH_UNKNOWN
Not a negative number, so that we would not need to test for it separately when comparing.- See Also:
- Constant Field Values
-
DURATION_MS_UNKNOWN
public static final long DURATION_MS_UNKNOWN
- See Also:
- Constant Field Values
-
DURATION_SEC_UNKNOWN
public static final long DURATION_SEC_UNKNOWN
- See Also:
- Constant Field Values
-
BITRATE_UNKNOWN
public static final long BITRATE_UNKNOWN
- See Also:
- Constant Field Values
-
-