Table of Contents

Interface IDeviceControllerFactory

Namespace
Jabra.NET.Sdk.ButtonCustomization
Assembly
Jabra.NET.Sdk.ButtonCustomization.dll

Creates a device controller for the given device.

public interface IDeviceControllerFactory

Methods

CreateDeviceControllerAsync(IDevice)

Creates a device controller for the given device.

Task<IDeviceController> CreateDeviceControllerAsync(IDevice device)

Parameters

device IDevice

The device to create a controller for.

Returns

Task<IDeviceController>

A new device controller if the feature is supported by the device. If the device does not support button/LED control, an exception is thrown.

TryCreateDeviceControllerAsync(IDevice)

Creates a device controller for the given device.

Task<IDeviceController?> TryCreateDeviceControllerAsync(IDevice device)

Parameters

device IDevice

The device to create a controller for.

Returns

Task<IDeviceController>

A new device controller if the feature is supported by the device. If the device does not support button/LED control, null is returned.