Interface IProperty
- Namespace
- Jabra.NET.Sdk.Properties
- Assembly
- Jabra.NET.Sdk.Properties.dll
TODO: improve - A property. "Something you can get or watch". In order to change the value of a property you must use PropertyTransaction
public interface IProperty
Properties
IsExecutable
Whether the property is a command and has an Execute
property.
bool IsExecutable { get; }
Property Value
IsReadOnly
Whether only the Get
method is supported.
bool IsReadOnly { get; }
Property Value
IsReadWrite
Whether both the Get
and Set
method are supported.
bool IsReadWrite { get; }
Property Value
IsWatchable
Whether the property is an event and has a Watch
property.
bool IsWatchable { get; }
Property Value
IsWriteOnly
Whether only the Set
method is supported.
bool IsWriteOnly { get; }
Property Value
MayResetDevice
Whether altering the value of this property may result in a device reset.
bool MayResetDevice { get; }
Property Value
Name
The name of the property.
string Name { get; }
Property Value
Watch
TODO: improve - Reports events from the device
IObservable<PropertyValue> Watch { get; }
Property Value
Methods
Get()
TODO: improve - Return the current value fo the property on the device.
Task<PropertyValue> Get()
Returns
- Task<PropertyValue>
The current value fo the property on the device.