setAgentId method

Class: EyesPlatform: EspressoLanguage: 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


eyes.setAgentId(agentId);

Parameters

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

Return value

Type: void

Remarks

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