Interface IDisconnectable
Defines an object as something that can disconnect. In regards to the Jabra.NET.Sdk, examples of things that can disconnect are devices and connections.
Inherited Members
System.IEquatable<Jabra.NET.Sdk.ToolsAndHelpers.IDisconnectable>.Equals(Jabra.NET.Sdk.ToolsAndHelpers.IDisconnectable)
Namespace: Jabra.NET.Sdk.ToolsAndHelpers
Assembly: Jabra.NET.Sdk.dll
Syntax
public interface IDisconnectable : IEquatable<IDisconnectable>
Properties
IsConnected
Indicates whether the object is currently connected.
Declaration
bool IsConnected { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
OnDisconnect
Emits when the item gets physically disconnected, e.g. a USB IConnection gets its cable detached, or a IDevice gets all of its connections disconnected.
Declaration
IObservable<Unit> OnDisconnect { get; }
Property Value
Type | Description |
---|---|
System.IObservable<System.Reactive.Unit> |
Methods
IsEqual(IDisconnectable)
Determines whether the specified object is equal to the current object.
Declaration
bool IsEqual(IDisconnectable obj)
Parameters
Type | Name | Description |
---|---|---|
IDisconnectable | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean |
|