Connection.getType()
DESCRIPTION
Get the connection type.
DECLARATION
Type getType()
THROWS EXCEPTIONS
NabtoRuntimeException:
- with error code
NOT_CONNECTED
if the connection is not connected NabtoRuntimeException:
- with error code
STOPPED
if the connection is closed or stopped
RETURNS
The connection type