setTheme(theme)
Updates the theme override of the application that the user is currently logged into.
Returns
Not applicable.
Parameters
Name | Type | Description | Required |
theme | JSON object | The new theme override of the application. | ✅ |
Usage example
In this example, the API updates the theme override of the application that the user is currently logged into.
PCore().getEnvironmentInfo().setTheme(theme);
Previous topic getUseLocale() Next topic APIs in the ErrorHandler class