The information in this topic may be out of date. The current SDK reference guide has moved here.
setAgentId method
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.