public class DurationMessage extends Message
NativeObject.InitializermessageStructdefaultInit, 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, makeWritabledisposeNativeHandle, isWritable, makeWritable, ref, unrefclassFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, initializer, instanceFor, invalidate, isDisposed, nativeValue, objectFor, objectFor, objectFor, objectFor, toStringpublic DurationMessage(NativeObject.Initializer init)
init - internal initialization data.public Format getFormat()
public long getDuration()