setApplicationToken
Sets the SDK application token for use in the goTenna SDK.
NOTE: This method must be called with a valid token before any other SDK methods are called.
Arguments
token: string
Your unique gotenna application token.
If you need an application token head on over to gotenna's website.
Returns
undefined
If the token is invalid the SDK will not throw an error. It will however printgoTenna: Invalid goTenna App Token
as an error to the console.
Example
Last updated