ctm.getAppEnv

The method of the JS Bridge functionality is intended to determine the started meeting type, such as Remote Detailing or Self Detailing.

According to the meeting type, certain JS Bridge methods will be available. For more information, refer to JS Bridge Methods Availability.

Query Format

ctm.getAppEnv(env)

env is the meeting type. The available responses:

  • rd for the Remote Detailing meeting

  • sd for the Self Detailing meeting

Handler

Use a handler function to describe the output format of the query results, e.g., to display the results of operations or method errors for debugging purposes.

ctm.getAppEnv((env) => console.log('current app env', env));

The result:

response rd
current app env rd
``