org.gstreamer.message
Class SegmentDoneMessage
java.lang.Object
org.gstreamer.lowlevel.NativeValue
org.gstreamer.lowlevel.Handle
org.gstreamer.lowlevel.NativeObject
org.gstreamer.lowlevel.RefCountedObject
org.gstreamer.MiniObject
org.gstreamer.Message
org.gstreamer.message.SegmentDoneMessage
public class SegmentDoneMessage
- extends Message
This message is posted by elements that finish playback of a segment as a
result of a segment seek.
This message is received by the application after all elements that posted a segment_start
have posted the segment_done.
Method Summary |
Format |
getFormat()
Gets the format of the position in this message. |
long |
getPosition()
Gets the position of the segment that is done. |
Methods inherited from class org.gstreamer.lowlevel.NativeObject |
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, initializer, instanceFor, invalidate, isDisposed, nativeValue, objectFor, objectFor, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
SegmentDoneMessage
public SegmentDoneMessage(NativeObject.Initializer init)
- Creates a new segment-done message.
- Parameters:
init
- internal initialization data.
SegmentDoneMessage
public SegmentDoneMessage(GstObject src,
Format format,
long position)
- Creates a new segment done message.
- Parameters:
src
- the object originating the message.format
- the format of the position being doneposition
- the position of the segment being done
getFormat
public Format getFormat()
- Gets the format of the position in this message.
- Returns:
- the format of the position.
getPosition
public long getPosition()
- Gets the position of the segment that is done.
- Returns:
- the position.