public class ControlBinding extends GstObject
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstControlBinding.html
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ControlBinding.Handle |
GObject.GCallback, GObject.GInterfaceNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>| Modifier and Type | Field and Description |
|---|---|
static String |
GTYPE_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
ControlBinding(ControlBinding.Handle handle,
boolean needRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getValue(long timestamp)
Gets the value for the given controlled property at the requested time.
|
boolean |
getValueArray(long timestamp,
long interval,
Object[] values)
Gets a number of values for the given controlled property starting at
the requested time.
|
boolean |
isDisabled()
Check if the control binding is disabled.
|
void |
setDisabled(boolean disabled)
This function is used to disable a control binding for some time, i.e.
|
addControlBinding, getAsString, getControlBinding, getName, getParent, hasActiveControlBindings, removeControlBinding, setAsString, setControlBindingDisabled, setControlBindingsDisabled, setName, suggestNextSync, syncValues, toStringaddCallback, connect, connect, disconnect, dispose, emit, emit, get, getPropertyDefaultValue, getPropertyMaximumValue, getPropertyMinimumValue, getRefCount, getTypeName, invalidate, listPropertyNames, removeCallback, setclose, disown, equals, getPointer, getRawPointer, hashCodepublic static final String GTYPE_NAME
protected ControlBinding(ControlBinding.Handle handle, boolean needRef)
public Object getValue(long timestamp)
timestamp - the time the control-change should be read frompublic boolean getValueArray(long timestamp,
long interval,
Object[] values)
This function is useful if one wants to e.g. draw a graph of the control curve or apply a control curve sample by sample.
timestamp - the time that should be processedinterval - the time spacing between subsequent valuesvalues - array to fill with control valuespublic void setDisabled(boolean disabled)
disabled - whether to disable the controller or notpublic boolean isDisabled()
Copyright © 2021 gstreamer-java. All rights reserved.