NIMMSTAConnectionManager |
The NIMMSTAConnectionManager is the central background service which runs the background activity of the NIMMSTA Framework. It manages all active device connections and the mode in which the framework is currently running. It connects all involved activities. It also builds the central point for the Android specific implementations of all classes. In order to obtain an instance of this class, you need to obtain the NIMMSTAConnectionManagerService service using the NIMMSTAServiceConnection. open class NIMMSTAConnectionManager : INIMMSTAConnectionManager |
NIMMSTAConnectionManagerService |
This class is the Android Container for the NIMMSTAConnectionManager service that manages all the connections. class NIMMSTAConnectionManagerService : Service |
NIMMSTANotificationService |
This service handles all the notifications that are used by our Accessibility Service You need to call initialize once for it to work object NIMMSTANotificationService |
NIMMSTAServiceConnection |
This class provides access to the NIMMSTAConnectionManager and initiates the connection. It uses an Android ServiceConnection and the concept of background Tasks. Just register the NIMMSTAServiceConnection by calling bindServiceToActivity and register for completion for the binding with onComplete. Only then you're able to do calls like displayConnectionActivity in order to show the DeviceConnectActivity. You can also check for ready with the isReady property. The following example shows a simple implementattion of this: open class NIMMSTAServiceConnection : ServiceConnection |