GazeManager MethodsC# SDK for The Eye Tribe Tracker

The GazeManager type exposes the following members.

Methods
  NameDescription
Public methodActivate(GazeManager ApiVersion, GazeManager ClientMode)
Activates TET C# Client and all underlying routines using default values. Should be called _only_ once when an application starts up. Calling thread will be locked during initialization.
Public methodActivate(GazeManager ApiVersion, GazeManager ClientMode, String, Int32)
Activates TET C# Client and all underlying routines. Should be called _only_ once when an application starts up. Calling thread will be locked during initialization.
Public methodAddCalibrationResultListener
Adds a ICalibrationResultListener to the TET C# client. This listener will recieve updates about calibration state changes.
Public methodAddConnectionStateListener
Adds a IConnectionStateListener to the TET C# client. This listener will recieve updates about change in connection state to the EyeTribe Server.
Public methodAddGazeListener
Adds a IGazeListener to the TET C# client. This listener will recieve GazeData updates when available
Public methodAddTrackerStateListener
Adds a ITrackerStateListener to the TET C# client. This listener will recieve updates about change of active screen index.
Public methodCalibrationAbort
Cancels an ongoing calibration process.
Public methodCalibrationClear
Resets calibration state, cancelling any previous calibrations.
Public methodCalibrationPointEnd
Called for every calibration point during a calibration process. This should be called 1-2 seconds after CalibrationPointStart(Int32, Int32) . The calibration process must be initiated by a call to CalibrationStart(Int16, ICalibrationProcessHandler) before calling this.
Public methodCalibrationPointStart
Called for every calibration point during a calibration process. This call should be followed by a call to CalibrationPointEnd  1-2 seconds later.

The calibration process must be initiated by a call to CalibrationStart(Int16, ICalibrationProcessHandler) before calling this.
Public methodCalibrationStart
Initiate a new calibration process. Must be called before any call to CalibrationPointStart(Int32, Int32) or CalibrationPointEnd  .

Any previous (and possible running) calibration process must be completed or aborted before calling this.

A full calibration process consists of a number of calls to CalibrationPointStart(Int32, Int32) and CalibrationPointEnd  matching the total number of clibration points set by the numCalibrationPoints parameter.
Public methodClearListeners
Clear all attached listeners, clears GazeData queue and stop broadcating
Public methodDeactivate
Deactivates TET C# Client and all under lying routines. Should be called when a application closes down.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetNumCalibrationResultListeners
Gets current number of attached ICalibrationResultListener instances.
Public methodGetNumConnectionStateListeners
Gets current number of attached IConnectionStateListener instances.
Public methodGetNumGazeListeners
Gets current number of attached IGazeListener instances.
Public methodGetNumTrackerStateListeners
Gets current number of attached ITrackerStateListener instances.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodHasCalibrationResultListener
Checkes if a given instance of ICalibrationResultListener is currently attached.
Public methodHasConnectionStateListener
Checkes if a given instance of IConnectionStateListener is currently attached.
Public methodHasGazeListener
Checkes if a given instance of IGazeListener is currently attached.
Public methodHasTrackerStateListener
Checkes if a given instance of ITrackerStateListener is currently attached.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnGazeApiConnectionStateChanged
Internal callback method. Should not be called directly.
Public methodOnGazeApiResponse
Internal callback method. Should not be called directly.
Public methodRemoveCalibrationResultListener
Remove a ICalibrationResultListener from the TET C# client.
Public methodRemoveConnectionStateListener
Remove a IConnectionStateListener from the TET C# client.
Public methodRemoveGazeListener
Remove a IGazeListener from the TET C# client.
Public methodRemoveTrackerStateListener
Remove a ITrackerStateListener from the TET C# client.
Public methodSwitchScreen
Switch currently active screen. Enabled the user to take control of which screen is used for calibration and gaze control.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also