IConnection.GetConnectionType()

DESCRIPTION

Get the type of this connection.

DECLARATION

ConnectionType GetConnectionType()

ERRORS

  • T:Nabto.Edge.Client.NabtoException: Thrown with error code NABTO_CLIENT_EC_NOT_CONNECTED if the connection is not established.
  • T:Nabto.Edge.Client.NabtoException: Thrown with error code NABTO_CLIENT_EC_NOT_STOPPED if the connection or client is stopped or closed.

RETURNS

The type of this connection.