IApi.transportContext property
Gets the underlying transport context.
Especially relevant when running in the browser to distinguish between Web Application with WebHID and Web Application with Device Connector.
See enum TransportContext
Signature
transportContext: TransportContext;