Package ca.phon.session.impl
Class MediaSegmentImpl
java.lang.Object
ca.phon.session.impl.MediaSegmentImpl
- All Implemented Interfaces:
MediaSegmentSPI
Media segment
-
Method Summary
Modifier and TypeMethodDescriptionfloat
Get the end valuefloat
Get the start valueGet the unit type.void
setEndValue
(float end) Set the end valuevoid
setStartValue
(float start) Set the start valuevoid
setUnitType
(MediaUnit type) Set the unit type
-
Method Details
-
getStartValue
public float getStartValue()Description copied from interface:MediaSegmentSPI
Get the start value- Specified by:
getStartValue
in interfaceMediaSegmentSPI
- Returns:
- float
-
setStartValue
public void setStartValue(float start) Description copied from interface:MediaSegmentSPI
Set the start value- Specified by:
setStartValue
in interfaceMediaSegmentSPI
-
getEndValue
public float getEndValue()Description copied from interface:MediaSegmentSPI
Get the end value- Specified by:
getEndValue
in interfaceMediaSegmentSPI
- Returns:
- float
-
setEndValue
public void setEndValue(float end) Description copied from interface:MediaSegmentSPI
Set the end value- Specified by:
setEndValue
in interfaceMediaSegmentSPI
-
getUnitType
Description copied from interface:MediaSegmentSPI
Get the unit type.- Specified by:
getUnitType
in interfaceMediaSegmentSPI
- Returns:
- MediaUnitType
-
setUnitType
Description copied from interface:MediaSegmentSPI
Set the unit type- Specified by:
setUnitType
in interfaceMediaSegmentSPI
-