...
argument name | type | optional | value | description |
---|---|---|---|---|
command | string |
| ||
parameter | string | ✔️ |
| 2-letter country language code. Default value is |
callback | function | ✔️ |
| The callback function that is called with the function call result. |
...
The function must be called before AdConsent shows the GUI. Calls after AdConsent has shown the GUI will be ignored.
Example
Setting the default language to be German (de)
Code Block |
---|
adconsent('setDefaultLocale', 'de'); |
...