SmartEyeglass SDK
public static interface

Sensor.SensorInterruptMode

Class Overview

Interface used to define constants for sensor interrupt mode. The interrupt mode is set when registering a listener

Summary

Constants
int SENSOR_INTERRUPT_DISABLED The interrupt mode is disabled, e.g.
int SENSOR_INTERRUPT_ENABLED The interrupt mode is enabled, e.g.

Constants

public static final int SENSOR_INTERRUPT_DISABLED

The interrupt mode is disabled, e.g. the sensor is sending data continuously

Constant Value: 0 (0x00000000)

public static final int SENSOR_INTERRUPT_ENABLED

The interrupt mode is enabled, e.g. no sensor is sent until new sensor data is available

Constant Value: 1 (0x00000001)