public static class MediaItem.Duration
extends java.lang.Object
Constructor and Description |
---|
Duration(int value,
java.lang.String measureUnit,
java.lang.String measureUnitShort)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMeasureUnit()
Getter
|
java.lang.String |
getMeasureUnitShort()
Getter
|
int |
getValue()
Getter
|
public Duration(int value, java.lang.String measureUnit, java.lang.String measureUnitShort)
value
- the absolute value of the durationmeasureUnit
- the name of the unit of measurement (e.g. minutes)measureUnitShort
- the abbreviation of the name of the unit of measurement (e.g. ')public int getValue()
public java.lang.String getMeasureUnit()
public java.lang.String getMeasureUnitShort()