com.biocomfort.SDK.event
Interface SDKErrorListener


public interface SDKErrorListener

The listener interface for receiving error events of the SDK. The class that is interested in processing error event implements this interface, and the object created with that class is registered with the SDK, using the method addSDKErrorListener. When an error occurs in the SDK the relevant method in the listener object is invoked, and the ErrorEvent is passed to it.

See Also:
ErrorEvent, SDK.addSDKErrorListener(SDKErrorListener), SDK.removeSDKErrorListener(SDKErrorListener)

Method Summary
 void onDeviceError(ErrorEvent error)
          Invoked when an error occurs that is related with a special device.
 void onExitError(ErrorEvent error)
          Invoked when an error occurs while exiting the SDK.
 void onGeneralError(ErrorEvent error)
          Invoked when a general error occurs in the SDK.
 void onStartError(ErrorEvent error)
          Invoked when an error occurs while starting the SDK.
 

Method Detail

onStartError

void onStartError(ErrorEvent error)
Invoked when an error occurs while starting the SDK.

Parameters:
error - the error event object that describes this error

onExitError

void onExitError(ErrorEvent error)
Invoked when an error occurs while exiting the SDK.

Parameters:
error - the error event object that describes this error

onGeneralError

void onGeneralError(ErrorEvent error)
Invoked when a general error occurs in the SDK.

Parameters:
error - the error event object that describes this error

onDeviceError

void onDeviceError(ErrorEvent error)
Invoked when an error occurs that is related with a special device.

Parameters:
error - the error event object that describes this error