Grabba Driver for Android
Unified driver for Grabba devices on the Android operating system
ConnectionInterface Interface Reference

Description

Interface class for Grabba device connection and disconnection events.

Objects which implement this interface may receive callbacks when these events occur, via delegation from a ConnectionListener object.

Note that this interface need not be directly implemented; it may be simpler to subclass ConnectionListener and thereby receive the events directly.

Thread safety: This interface is intended to be thread-safe; any classes deriving from it should ensure that the relevant methods are callable from any thread.

See also
CoreAPI for related API functions, and ConnectionListener for more detailed descriptions of each event.
Inheritance diagram for ConnectionInterface:
ConnectionListener

Public Member Functions

void connectEvent ()
 Callback which is invoked when a Grabba device is connected. More...
 
void disconnectEvent ()
 Callback which is invoked when a Grabba device is disconnected. More...
 

Member Function Documentation

◆ connectEvent()

void connectEvent ( )

Callback which is invoked when a Grabba device is connected.

Note
Implementations of this method are required to be thread-safe; no guarantees are made about which thread(s) they will be called from.

Implemented in ConnectionListener.

◆ disconnectEvent()

void disconnectEvent ( )

Callback which is invoked when a Grabba device is disconnected.

Note
Implementations of this method are required to be thread-safe; no guarantees are made about which thread(s) they will be called from.

Implemented in ConnectionListener.