Table of Contents

Class IpDeviceMonitor

Namespace
Huddly.Sdk
Assembly
Huddly.Sdk.dll
public sealed class IpDeviceMonitor : IIpDeviceMonitor, IDeviceMonitor, IDisposable
Inheritance
IpDeviceMonitor
Implements
Inherited Members

Constructors

IpDeviceMonitor(IpDeviceMonitorOptions, IDiscovery, IGrpcClientFactory, IDeviceHeartbeat, ILoggerFactory)

public IpDeviceMonitor(IpDeviceMonitorOptions options, IDiscovery discovery, IGrpcClientFactory grpcClientFactory, IDeviceHeartbeat deviceHeartbeat, ILoggerFactory loggerFactory)

Parameters

options IpDeviceMonitorOptions
discovery IDiscovery
grpcClientFactory IGrpcClientFactory
deviceHeartbeat IDeviceHeartbeat
loggerFactory ILoggerFactory

Properties

IsMonitoring

public bool IsMonitoring { get; }

Property Value

bool

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

GetDiscoveryType()

public Type GetDiscoveryType()

Returns

Type

Resume()

public void Resume()

Start(SdkSession, int, CancellationToken)

public Task Start(SdkSession session, int timeout_ms, CancellationToken ct)

Parameters

session SdkSession
timeout_ms int
ct CancellationToken

Returns

Task

Suspend()

public void Suspend()

Events

DeviceConnected

public event EventHandler<DeviceConnectionChangeEventArgs>? DeviceConnected

Event Type

EventHandler<DeviceConnectionChangeEventArgs>

DeviceDisconnected

public event EventHandler<DeviceConnectionChangeEventArgs>? DeviceDisconnected

Event Type

EventHandler<DeviceConnectionChangeEventArgs>