setAgentId method

Class: ConfigurationPlatform: ImagesLanguage: JavaScript SDK:

Use this method to set the name and version of the SDK.

Syntax


let configval = config.setAgentId(value);

Parameters

value
Type:string
The agent id to be configured.

Return value

Type: Configuration
The value returned is the object that called the method. This allows you to use a fluent style to call the setXXXX methods of the Configuration class.