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);

😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker