public class DurationMessage extends Message
NativeObject.Initializer
messageStruct
defaultInit, LIFECYCLE, ownsHandle
Constructor and Description |
---|
DurationMessage(GstObject src,
Format format,
long duration)
Creates a new Buffering message.
|
DurationMessage(NativeObject.Initializer init)
Creates a new Buffering message.
|
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
Gets the duration of this message.
|
Format |
getFormat()
Gets the format of the duration contained in this message.
|
copy, getSource, getStructure, getType, makeWritable
disposeNativeHandle, isWritable, makeWritable, ref, unref
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, initializer, instanceFor, invalidate, isDisposed, nativeValue, objectFor, objectFor, objectFor, objectFor, toString
public DurationMessage(NativeObject.Initializer init)
init
- internal initialization data.public Format getFormat()
public long getDuration()