Table of Contents

Class PropertyFactory

Namespace
Jabra.NET.Sdk.Properties
Assembly
Jabra.NET.Sdk.Properties.dll
public class PropertyFactory : IPropertyFactory
Inheritance
PropertyFactory
Implements
Inherited Members
Extension Methods

Properties

PropertyNames

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

public IEnumerable<string> PropertyNames { get; }

Property Value

IEnumerable<string>

SchemaVersion

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

public SemanticVersion SchemaVersion { get; }

Property Value

SemanticVersion

Methods

CreateProperties(IDevice, IEnumerable<string>?)

TODO: improve - Create property dictionary for a given device

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

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

public Task ReloadDefinition(JsonNode newDeclaration)

Parameters

newDeclaration JsonNode

Returns

Task