NetworkManagerInterface

interface NetworkManagerInterface

The class provide interfaces to control the network connection to NUGU.

Functions

Link copied to clipboard
abstract fun addConnectionStatusListener(listener: ConnectionStatusListener)

Add listener to be notified when connection status changed for NUGU

Link copied to clipboard
abstract fun disable()

Disable network manager

Link copied to clipboard
abstract fun enable(quiet: Boolean = false)

Enable network manager.

Link copied to clipboard
abstract fun removeConnectionStatusListener(listener: ConnectionStatusListener)

Remove listener

Link copied to clipboard
abstract fun shutdown()

Shutdown network manager Shut down all connections and clean up.

Inheritors

Link copied to clipboard