startConfigSession

Start a configurator session.

Signatures

  • Paramate.Configurator.startConfigSession(callback = undefined)

Details

The function initializes a configurator session.

Parameters

callback

Function to be called with the result object as argument.

Return value

Result object of the configurator session creation:

 {
   id: ...,                // string: the configurator session ID
   imageKey: ...,          // string: key to use for getting renderer images
   modelKey: ...,          // string: key to use for getting the model
   rendererSessions:
   [
     {
       rendererType: ...,  // string: the type of the renderer
       sessionId: ...      // string: the renderer session ID
     }
   ]
 }