ATUAV_RT.EyetrackerConnector.ConnectionError C# (CSharp) 메소드

ConnectionError() 개인적인 메소드

Disconnects from eyetracker on error.
private ConnectionError ( object sender, ConnectionErrorEventArgs e ) : void
sender object
e ConnectionErrorEventArgs Contains error code
리턴 void
        private void ConnectionError(object sender, ConnectionErrorEventArgs e)
        {
            Console.WriteLine("Error: " + EyetrackerErrors.getDescription(e.ErrorCode));
            Console.WriteLine("Disconnecting from " + info.ProductId);
            Disconnect();
        }