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: <a class ='link' href='/Content/api/eyes-sdk/index-gen/class-configuration-images-javascript.htm'>Configuration</a>
The value returned is the object that called the method. This allows you to use a fluent style to call the setXXXX methods of this class.