Table of Contents

Class Device

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

Methods

CreateElement(IntPtr, NullableUtf8StringHandle)

Calls native method gst_device_create_element. Version: 1.4

[Version("1.4")]
public static extern IntPtr CreateElement(IntPtr device, NullableUtf8StringHandle name)

Parameters

device IntPtr

Transfer ownership: None Nullable: False

name NullableUtf8StringHandle

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: None Nullable: True

GetCaps(IntPtr)

Calls native method gst_device_get_caps. Version: 1.4

[Version("1.4")]
public static extern CapsOwnedHandle GetCaps(IntPtr device)

Parameters

device IntPtr

Transfer ownership: None Nullable: False

Returns

CapsOwnedHandle

Transfer ownership: Full Nullable: True

GetDeviceClass(IntPtr)

Calls native method gst_device_get_device_class. Version: 1.4

[Version("1.4")]
public static extern NonNullableUtf8StringOwnedHandle GetDeviceClass(IntPtr device)

Parameters

device IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

GetDisplayName(IntPtr)

Calls native method gst_device_get_display_name. Version: 1.4

[Version("1.4")]
public static extern NonNullableUtf8StringOwnedHandle GetDisplayName(IntPtr device)

Parameters

device IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

GetGType()

Calls native function gst_device_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetProperties(IntPtr)

Calls native method gst_device_get_properties. Version: 1.6

[Version("1.6")]
public static extern StructureOwnedHandle GetProperties(IntPtr device)

Parameters

device IntPtr

Transfer ownership: None Nullable: False

Returns

StructureOwnedHandle

Transfer ownership: Full Nullable: True

HasClasses(IntPtr, NonNullableUtf8StringHandle)

Calls native method gst_device_has_classes. Version: 1.4

[Version("1.4")]
public static extern bool HasClasses(IntPtr device, NonNullableUtf8StringHandle classes)

Parameters

device IntPtr

Transfer ownership: None Nullable: False

classes NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

HasClassesv(IntPtr, Utf8StringArrayNullTerminatedHandle)

Calls native method gst_device_has_classesv. Version: 1.4

[Version("1.4")]
public static extern bool HasClassesv(IntPtr device, Utf8StringArrayNullTerminatedHandle classes)

Parameters

device IntPtr

Transfer ownership: None Nullable: False

classes Utf8StringArrayNullTerminatedHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ReconfigureElement(IntPtr, IntPtr)

Calls native method gst_device_reconfigure_element. Version: 1.4

[Version("1.4")]
public static extern bool ReconfigureElement(IntPtr device, IntPtr element)

Parameters

device IntPtr

Transfer ownership: None Nullable: False

element IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False