GazeManager Activate Method (GazeManager ApiVersion, GazeManager ClientMode, String, Int32)C# SDK for The Eye Tribe Tracker
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.

Namespace: TETCSharpClient
Assembly: TETCSharpClient (in TETCSharpClient.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public bool Activate(
	GazeManager ApiVersion apiVersion,
	GazeManager ClientMode mode,
	string hostname,
	int portnumber
)

Parameters

apiVersion
Type: TETCSharpClient GazeManager ApiVersion
Version number of the Tracker API that this client will be compliant to
mode
Type: TETCSharpClient GazeManager ClientMode
Mode though which the client will receive GazeData. Either ClientMode.Push or ClientMode.Pull
hostname
Type: System String
The host name or IP address where the eye tracking server is running.
portnumber
Type: System Int32
The port number used for the eye tracking server

Return Value

Type: Boolean
True if succesfully activated, false otherwise
See Also