Table of Contents

Interface IDeviceMonitor

Namespace
Huddly.Sdk
Assembly
Huddly.Sdk.dll
public interface IDeviceMonitor : IDisposable
Inherited Members

Properties

IsMonitoring

bool IsMonitoring { get; }

Property Value

bool

Methods

GetDevices()

ISet<IDevice> GetDevices()

Returns

ISet<IDevice>

GetDiscoveryType()

Type GetDiscoveryType()

Returns

Type

Resume()

void Resume()

Start(SdkSession, int, CancellationToken)

Task Start(SdkSession session, int timeout_ms = -1, CancellationToken ct = default)

Parameters

session SdkSession
timeout_ms int
ct CancellationToken

Returns

Task

Suspend()

void Suspend()

TryGetDevice(string, out IDevice?)

bool TryGetDevice(string deviceId, out IDevice? device)

Parameters

deviceId string
device IDevice

Returns

bool

Events

DeviceAccessDenied

This event is triggered when a connected device is inaccessible, e.g., when it is claimed by another process or when permission is denied.

event EventHandler<DeviceAccessDeniedEventArgs>? DeviceAccessDenied

Event Type

EventHandler<DeviceAccessDeniedEventArgs>

DeviceConnected

This event is triggered when a device is connected. It will also trigger for all currently connected devices when device discovery starts.

event EventHandler<DeviceConnectionChangeEventArgs>? DeviceConnected

Event Type

EventHandler<DeviceConnectionChangeEventArgs>

DeviceDisconnected

This event is triggered when a device is disconnected. It will only occur for devices that have previously triggered the DeviceConnected event.

event EventHandler<DeviceConnectionChangeEventArgs>? DeviceDisconnected

Event Type

EventHandler<DeviceConnectionChangeEventArgs>