setAgentId method

Class: EyesPlatform: ImagesLanguage: Java SDK:

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

This method is only relevant for users that write their own SDK.

Syntax


Configuration value = eyes.setAgentId(agentId);

Parameters

agentId
Type:String
The id of the agent in the format 'name/1.2.3'.

Return value

Type: Configuration

Remarks

To take effect, this method must be called before the call to open.