Package com.iristick.smartglass.core¶
This package contains the main interface to an Iristick headset.
To use extended functionality from the Iristick headset, follow these steps:
- Get an instance of
IristickManager
withIristickManager.getInstance();
- Implement
IristickConnection
and register it throughIristickManager.bind
. - Use the
Headset
object provided through the callback.
Note
Even though the API design allows for multiple headsets to be connected at the same time, this use case is strongly discouraged as it may cause severe performance issues. Always ensure the headset is connected directly to the smartphone without any other USB devices in between.
Interface | Description |
---|---|
DisplayListener |
Listener interface for receiving updates about the state of the display.
|
Headset.InteractionModeListener | |
Intents |
Collection of constants for sending intents to the Iristick Services.
|
IristickConnection |
Interface for monitoring the connection of Iristick headsets.
|
SensorEventListener |
Interface for receiving notifications when sensor values have changed.
|
TouchEvent.Callback |
Callback interface for touchpad events.
|
VoiceCommandDispatcher |
Voice Grammar optimized for a single list of voice commands, where each command has its own set
of actions.
|
VoiceEvent.Callback |
Callback interface for voice command events.
|
VoiceGrammar |
This class represents a grammar for voice commands.
|
Class | Description |
---|---|
Headset |
This class provides access to all extended functionality available on one headset.
|
InteractionRule | Deprecated
Relying on the Iristick Accessibility Service is not recommended.
|
InteractionRule.Key<T> | Deprecated |
IristickBinding |
This class represents the active connection to the Iristick Services.
|
IristickConnection2 |
Advanced interface for receiving events from the Iristick Services.
|
IristickManager |
This class is the main entry point.
|
PocketUnit |
This class provides access to information about a connected pocket unit.
|
PocketUnit.BatteryCallback |
Callback interface for battery events.
|
Sensor |
This class represents a single logical sensor on the headset.
|
SensorEvent | |
TouchEvent |
This class represents an event from the touchpad.
|
VoiceCommandDispatcher.Builder |
This class allows to construct immutable voice command dispatcher objects.
|
VoiceEvent |
This class represents a voice command event.
|
VoiceGrammar.Builder |
This class allows to construct immutable voice command grammar objects.
|