public class BufferingMessage extends Message
percent
should be a
value between 0 and 100. A value of 100 means that the buffering completed.
When percent} is < 100 the application should PAUSE a PLAYING pipeline. When
percent is 100, the application can set the pipeline (back) to PLAYING.
The application must be prepared to receive BUFFERING messages in the
PREROLLING state and may only set the pipeline to PLAYING after receiving a
message with percent set to 100, which can happen after the pipeline
completed prerolling.NativeObject.Initializer
messageStruct
defaultInit, LIFECYCLE, ownsHandle
Constructor and Description |
---|
BufferingMessage(GstObject src,
int percent)
Creates a new Buffering message.
|
BufferingMessage(NativeObject.Initializer init)
Creates a new Buffering message.
|
Modifier and Type | Method and Description |
---|---|
int |
getPercent()
Gets the buffering percentage.
|
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 BufferingMessage(NativeObject.Initializer init)
init
- internal initialization data.public BufferingMessage(GstObject src, int percent)
src
- The object originating the message.