public class StateChangedMessage extends Message
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstMessage.html#gst-message-new-state-changed
This message is posted whenever an element changes its state.
Message.TypesNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>GTYPE_NAME| Constructor and Description |
|---|
StateChangedMessage(GstObject src,
State old,
State current,
State pending)
Creates a new state-changed message.
|
| Modifier and Type | Method and Description |
|---|---|
State |
getNewState()
Gets the new (current) state.
|
State |
getOldState()
Gets the previous state.
|
State |
getPendingState()
Gets the pending (target) state.
|
getSource, getStructure, getTypecopy, getRefCount, isWritable, makeWritableclose, disown, dispose, equals, getPointer, getRawPointer, hashCode, invalidate, toStringpublic State getOldState()
public State getNewState()
public State getPendingState()
Copyright © 2021 gstreamer-java. All rights reserved.