Table of Contents

Class SystemClock

Namespace
Gst
Assembly
Gst-1.0.dll
public class SystemClock : Clock, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
SystemClock
Implements
Derived
Inherited Members

Constructors

SystemClock(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 SystemClock(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

SystemClock(CreationData)

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

Parameters

data CreationData

SystemClock(SystemClockHandle)

protected SystemClock(SystemClockHandle handle)

Parameters

handle SystemClockHandle

Fields

ClockTypePropertyDefinition

public static readonly Property<ClockType, SystemClock> ClockTypePropertyDefinition

Field Value

Property<ClockType, SystemClock>

Properties

ClockType

public ClockType ClockType { get; set; }

Property Value

ClockType

Methods

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed SystemClock instance for a given pointer.

public static SystemClock NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

SystemClock

NewWithProperties(ConstructArgument[])

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

public static SystemClock NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

SystemClock

Obtain()

public static Clock Obtain()

Returns

Clock

SetDefault(Clock?)

[Version("1.4")]
public static void SetDefault(Clock? newClock)

Parameters

newClock Clock