Table of Contents

Class Context

Namespace
Gst.Internal
Assembly
Gst-1.0.dll
public class Context
Inheritance
Context
Inherited Members

Methods

GetContextType(ContextHandle)

Calls native method gst_context_get_context_type. Version: 1.2

[Version("1.2")]
public static extern NonNullableUtf8StringUnownedHandle GetContextType(ContextHandle context)

Parameters

context ContextHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetGType()

Calls native function gst_context_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetStructure(ContextHandle)

Calls native method gst_context_get_structure. Version: 1.2

[Version("1.2")]
public static extern StructureUnownedHandle GetStructure(ContextHandle context)

Parameters

context ContextHandle

Transfer ownership: None Nullable: False

Returns

StructureUnownedHandle

Transfer ownership: None Nullable: False

HasContextType(ContextHandle, NonNullableUtf8StringHandle)

Calls native method gst_context_has_context_type. Version: 1.2

[Version("1.2")]
public static extern bool HasContextType(ContextHandle context, NonNullableUtf8StringHandle contextType)

Parameters

context ContextHandle

Transfer ownership: None Nullable: False

contextType NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsPersistent(ContextHandle)

Calls native method gst_context_is_persistent. Version: 1.2

[Version("1.2")]
public static extern bool IsPersistent(ContextHandle context)

Parameters

context ContextHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New(NonNullableUtf8StringHandle, bool)

Calls native constructor gst_context_new. Version: 1.2

[Version("1.2")]
public static extern ContextOwnedHandle New(NonNullableUtf8StringHandle contextType, bool persistent)

Parameters

contextType NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

persistent bool

Transfer ownership: None Nullable: False

Returns

ContextOwnedHandle

Transfer ownership: Full Nullable: False

WritableStructure(ContextHandle)

Calls native method gst_context_writable_structure. Version: 1.2

[Version("1.2")]
public static extern StructureUnownedHandle WritableStructure(ContextHandle context)

Parameters

context ContextHandle

Transfer ownership: None Nullable: False

Returns

StructureUnownedHandle

Transfer ownership: None Nullable: False