Table of Contents

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

constructArguments ConstructArgument[]

ControlBinding(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ControlBinding(CreationData data)

Parameters

data CreationData

ControlBinding(ControlBindingHandle)

protected ControlBinding(ControlBindingHandle handle)

Parameters

handle ControlBindingHandle

Fields

NamePropertyDefinition

public static readonly Property<string?, ControlBinding> NamePropertyDefinition

Field Value

Property<string, ControlBinding>

ObjectPropertyDefinition

public static readonly Property<Object?, ControlBinding> ObjectPropertyDefinition

Field Value

Property<Object, ControlBinding>

Properties

Name

public string? Name { get; }

Property Value

string

Object

public Object? Object { get; }

Property Value

Object

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetGValueArray(ClockTime, ClockTime, Value[])

public bool GetGValueArray(ClockTime timestamp, ClockTime interval, Value[] values)

Parameters

timestamp ClockTime
interval ClockTime
values Value[]

Returns

bool

GetValue(ClockTime)

public Value? GetValue(ClockTime timestamp)

Parameters

timestamp ClockTime

Returns

Value

IsDisabled()

public bool IsDisabled()

Returns

bool

NewFromPointer(nint, bool)

Creates a new managed ControlBinding instance for a given pointer.

public static ControlBinding NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

ControlBinding

NewWithProperties(ConstructArgument[])

Creates a new ControlBinding and sets the properties specified by the construct arguments.

public static ControlBinding NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

ControlBinding

SetDisabled(bool)

public void SetDisabled(bool disabled)

Parameters

disabled bool

SyncValues(Object, ClockTime, ClockTime)

public bool SyncValues(Object @object, ClockTime timestamp, ClockTime lastSync)

Parameters

object Object
timestamp ClockTime
lastSync ClockTime

Returns

bool