SDK lifecycle
Change Profile API Key dynamically
This method changes a Profile (formerly Client) API key dynamically.
Method name:
Client.changeApiKey(newApiKey)
Declaration:
public static void changeApiKey(@NonNull String newApiKey)
Parameters:
Parameter | Type | Mandatory | Default | Description |
---|---|---|---|---|
newApiKey | String | yes | - | New API Key |
Return Value:
Void type method.
Example:
Client.changeApiKey(apiKey);