Class ButtonInteraction
- Namespace
- Jabra.NET.Sdk.ButtonCustomization
- Assembly
- Jabra.NET.Sdk.ButtonCustomization.dll
Represents the different ways a user can interact with a button.
public class ButtonInteraction : Enumeration, IEquatable<Enumeration>
- Inheritance
-
EnumerationButtonInteraction
- Implements
-
IEquatable<Enumeration>
- Inherited Members
-
Enumeration.ToString()Enumeration.GetAll<T>()Enumeration.Equals(Enumeration)Enumeration.GetHashCode()Enumeration.NameEnumeration.Id
Constructors
ButtonInteraction(int, string)
Initializes a new instance of the ButtonInteraction class. This can be used to identify button interactions not yet defined in this library, provided you know the ID assigned to the interaction by the device. Use the known static members such as Tap where possible.
public ButtonInteraction(int id, string name)
Parameters
idintThe ID assigned to the interaction by the device firmware.
namestringA human-readable name for the interaction.
Fields
DoubleTap
A double click on the button.
public static readonly ButtonInteraction DoubleTap
Field Value
Down
The button is pressed down.
public static readonly ButtonInteraction Down
Field Value
Press
A click on the button, where the button is held down longer than a Tap.
public static readonly ButtonInteraction Press
Field Value
Tap
A click on the button where the button is held down shorter than a Press.
public static readonly ButtonInteraction Tap
Field Value
Up
The button is released.
public static readonly ButtonInteraction Up