Getting the current configuration

Retrieving the current configuration can be useful to validate your setup, especially if you have multiple configurations in an app.

To get the current configuration of the SDK, for example, a Site Key property, call:

import com.medallia.mxo.mxoConfiguration

val siteKey = mxoConfiguration?.siteKey
import com.medallia.mxo.MedalliaMXO;
import com.medallia.mxo.configuration.MXOConfiguration;

MXOConfiguration currentMxoConfiguration = MedalliaMXO.getConfiguration();
        String siteKey = currentMxoConfiguration != null ? currentMxoConfiguration.getSiteKey() : "";