public interface ITrackerStateListener
Implementing classes should register for updates through
GazeManager.addTrackerStateListener(ITrackerStateListener)
.
Modifier and Type | Method and Description |
---|---|
void |
onScreenStatesChanged(int screenIndex,
int screenResolutionWidth,
int screenResolutionHeight,
float screenPhysicalWidth,
float screenPhysicalHeight)
A notification call back indicating that main screen index has changed.
|
void |
onTrackerStateChanged(int trackerState)
A notification call back indicating that state of connected Tracker device has changed.
|
void onTrackerStateChanged(int trackerState)
trackerState
- the current state of the physical Tracker devicevoid onScreenStatesChanged(int screenIndex, int screenResolutionWidth, int screenResolutionHeight, float screenPhysicalWidth, float screenPhysicalHeight)
screenIndex
- the currently valid screen indexscreenResolutionWidth
- screen resolution width in pixelsscreenResolutionHeight
- screen resolution height in pixelsscreenPhysicalWidth
- physical screen width in metersscreenPhysicalHeight
- physical screen height in metersProcessing library EyeTribeProcessing by Jorge C. S. Cardoso. (c) 2015