Class MediaSegmentImpl
java.lang.Object
ca.phon.session.impl.MediaSegmentImpl
- All Implemented Interfaces:
MediaSegmentSPI
Default implementation for media segments.
-
Method Summary
Modifier and TypeMethodDescriptionfloatGet the end valuefloatGet the start valueGet the unit type.voidsetEndValue(float end) Set the end valuevoidsetStartValue(float start) Set the start valuevoidsetUnitType(MediaUnit type) Set the unit type
-
Method Details
-
getStartValue
public float getStartValue()Description copied from interface:MediaSegmentSPIGet the start value- Specified by:
getStartValuein interfaceMediaSegmentSPI- Returns:
- float
-
setStartValue
public void setStartValue(float start) Description copied from interface:MediaSegmentSPISet the start value- Specified by:
setStartValuein interfaceMediaSegmentSPI- Parameters:
start-
-
getEndValue
public float getEndValue()Description copied from interface:MediaSegmentSPIGet the end value- Specified by:
getEndValuein interfaceMediaSegmentSPI- Returns:
- float
-
setEndValue
public void setEndValue(float end) Description copied from interface:MediaSegmentSPISet the end value- Specified by:
setEndValuein interfaceMediaSegmentSPI- Parameters:
end-
-
getUnitType
Description copied from interface:MediaSegmentSPIGet the unit type.- Specified by:
getUnitTypein interfaceMediaSegmentSPI- Returns:
- MediaUnitType
-
setUnitType
Description copied from interface:MediaSegmentSPISet the unit type- Specified by:
setUnitTypein interfaceMediaSegmentSPI- Parameters:
type-
-