Table of Contents

Interface IPropertyFactory

Namespace
Jabra.NET.Sdk.Properties
Assembly
Jabra.NET.Sdk.Properties.dll

TODO: improve - Bootstraps the property system.

public interface IPropertyFactory
Extension Methods

Properties

PropertyNames

TODO: improve - The list of valid properties that this IPropertyFactory can create.

IEnumerable<string> PropertyNames { get; }

Property Value

IEnumerable<string>

SchemaVersion

TODO: improve - The version of the property language schema that this IPropertyFactory implements.

SemanticVersion SchemaVersion { get; }

Property Value

SemanticVersion

Methods

CreateProperties(IDevice, IEnumerable<string>?)

TODO: improve - Create property dictionary for a given device

Task<IPropertyMap> CreateProperties(IDevice device, IEnumerable<string>? propertyIds)

Parameters

device IDevice

The device to create the properties for.

propertyIds IEnumerable<string>

A list of property ids that the device supports.

Returns

Task<IPropertyMap>

A dictionary containing the properties specified via propertyIds for device.

Exceptions

JabraException

Thrown when a propertyId doesn't exist in the declaration

ReloadDefinition(JsonNode)

Overwrite the current property definition with a new one

Task ReloadDefinition(JsonNode newDefinition)

Parameters

newDefinition JsonNode

The new property declaration.

Returns

Task