Table of Contents

Class DeviceControllerFactory

Namespace
Jabra.NET.Sdk.ButtonCustomization
Assembly
Jabra.NET.Sdk.ButtonCustomization.dll
public class DeviceControllerFactory : IDeviceControllerFactory
Inheritance
DeviceControllerFactory
Implements
Inherited Members

Methods

CreateDeviceControllerAsync(IDevice)

Creates a device controller for the given device.

public 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.

public 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.