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
constructArgumentsConstructArgument[]
SystemClock(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected SystemClock(CreationData data)
Parameters
dataCreationData
SystemClock(SystemClockHandle)
protected SystemClock(SystemClockHandle handle)
Parameters
handleSystemClockHandle
Fields
ClockTypePropertyDefinition
public static readonly Property<ClockType, SystemClock> ClockTypePropertyDefinition
Field Value
Properties
ClockType
public ClockType ClockType { get; set; }
Property Value
Methods
GetGType()
public static Type GetGType()
Returns
NewFromPointer(nint, bool)
Creates a new managed SystemClock instance for a given pointer.
public static SystemClock NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new SystemClock and sets the properties specified by the construct arguments.
public static SystemClock NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Obtain()
public static Clock Obtain()
Returns
SetDefault(Clock?)
[Version("1.4")]
public static void SetDefault(Clock? newClock)
Parameters
newClockClock