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