Infohub JS API
Loading...
Searching...
No Matches
COLNEOvisualAdapterServices Class Reference

Description

Creates the COLNEO visual adapter used by an embedded module.

Static Public Member Functions

static async createAdapter ()

Function Documentation

◆ createAdapter()

async createAdapter ( )
static

Creates an embedded adapter after the COLNEO visual host bridge is ready.

The adapter builds its own infohub context from the authentication data the COLNEO visual host sends with the bridge handshake. An embedded module that keeps its own context copies those values with COLNEOvisual::restoreContextFromInfohubSettings().

Returns
{Promise<COLNEOvisual>} The connected embedded adapter.