Class DeviceMonitor
public class DeviceMonitor
- Inheritance
-
DeviceMonitor
- Inherited Members
Methods
AddFilter(IntPtr, NullableUtf8StringHandle, CapsHandle)
Calls native method gst_device_monitor_add_filter. Version: 1.4
[Version("1.4")]
public static extern uint AddFilter(IntPtr monitor, NullableUtf8StringHandle classes, CapsHandle caps)
Parameters
monitor
IntPtrTransfer ownership: None Nullable: False
classes
NullableUtf8StringHandleTransfer ownership: None Nullable: True
caps
CapsHandleTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
GetBus(IntPtr)
Calls native method gst_device_monitor_get_bus. Version: 1.4
[Version("1.4")]
public static extern IntPtr GetBus(IntPtr monitor)
Parameters
monitor
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
GetDevices(IntPtr)
Calls native method gst_device_monitor_get_devices. Version: 1.4
[Version("1.4")]
public static extern ListOwnedHandle GetDevices(IntPtr monitor)
Parameters
monitor
IntPtrTransfer ownership: None Nullable: False
Returns
- ListOwnedHandle
Transfer ownership: Full Nullable: True
GetGType()
Calls native function gst_device_monitor_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetProviders(IntPtr)
Calls native method gst_device_monitor_get_providers. Version: 1.6
[Version("1.6")]
public static extern Utf8StringArrayNullTerminatedOwnedHandle GetProviders(IntPtr monitor)
Parameters
monitor
IntPtrTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
GetShowAllDevices(IntPtr)
Calls native method gst_device_monitor_get_show_all_devices. Version: 1.6
[Version("1.6")]
public static extern bool GetShowAllDevices(IntPtr monitor)
Parameters
monitor
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
New()
Calls native constructor gst_device_monitor_new. Version: 1.4
[Version("1.4")]
public static extern IntPtr New()
Returns
- IntPtr
Transfer ownership: Full Nullable: False
RemoveFilter(IntPtr, uint)
Calls native method gst_device_monitor_remove_filter. Version: 1.4
[Version("1.4")]
public static extern bool RemoveFilter(IntPtr monitor, uint filterId)
Parameters
monitor
IntPtrTransfer ownership: None Nullable: False
filterId
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
SetShowAllDevices(IntPtr, bool)
Calls native method gst_device_monitor_set_show_all_devices. Version: 1.6
[Version("1.6")]
public static extern void SetShowAllDevices(IntPtr monitor, bool showAll)
Parameters
monitor
IntPtrTransfer ownership: None Nullable: False
showAll
boolTransfer ownership: None Nullable: False
Start(IntPtr)
Calls native method gst_device_monitor_start. Version: 1.4
[Version("1.4")]
public static extern bool Start(IntPtr monitor)
Parameters
monitor
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Stop(IntPtr)
Calls native method gst_device_monitor_stop. Version: 1.4
[Version("1.4")]
public static extern void Stop(IntPtr monitor)
Parameters
monitor
IntPtrTransfer ownership: None Nullable: False