Class ControlBinding
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public class ControlBinding : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
ControlBinding
- Implements
- Inherited Members
Constructors
ControlBinding(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public ControlBinding(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
ControlBinding(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ControlBinding(CreationData data)
Parameters
dataCreationData
ControlBinding(ControlBindingHandle)
protected ControlBinding(ControlBindingHandle handle)
Parameters
handleControlBindingHandle
Fields
NamePropertyDefinition
public static readonly Property<string?, ControlBinding> NamePropertyDefinition
Field Value
ObjectPropertyDefinition
public static readonly Property<Object?, ControlBinding> ObjectPropertyDefinition
Field Value
Properties
Name
public string? Name { get; }
Property Value
Object
public Object? Object { get; }
Property Value
Methods
GetGType()
public static Type GetGType()
Returns
GetGValueArray(ClockTime, ClockTime, Value[])
public bool GetGValueArray(ClockTime timestamp, ClockTime interval, Value[] values)
Parameters
Returns
GetValue(ClockTime)
public Value? GetValue(ClockTime timestamp)
Parameters
timestampClockTime
Returns
IsDisabled()
public bool IsDisabled()
Returns
NewFromPointer(nint, bool)
Creates a new managed ControlBinding instance for a given pointer.
public static ControlBinding NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new ControlBinding and sets the properties specified by the construct arguments.
public static ControlBinding NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetDisabled(bool)
public void SetDisabled(bool disabled)
Parameters
disabledbool
SyncValues(Object, ClockTime, ClockTime)
public bool SyncValues(Object @object, ClockTime timestamp, ClockTime lastSync)