Skip to content

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:

  1. Get an instance of IristickManager with
    IristickManager.getInstance();
  2. Implement IristickConnection and register it through IristickManager.bind.
  3. 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
This class represents a Sensor event and holds information such as the sensor's type and the sensor's data.
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.