The information in this topic may be out of date. The current SDK reference guide has moved here.
setApiKey method
Use this method to set your Eyes license key.
To obtain your API key, see How to obtain your API key.
Syntax
let value = obj.setApiKey(apiKey);
Parameters
- apiKey
- Type:string
- A string that is your API Key.
Return value
- Type: BatchClose
- The object that called this method. This allows other methods of this class to be appended in a Fluent style.