Disabling/Enabling APM for Android
Turn APM off or back on in your Android app with one API call after SDK initialization. Explains what happens to performance data already collected.
You can disable APM by calling the following API right after initializing the SDK. This completely prevents the SDK from collecting any performance data or executing any APM related logic:
// Enable/disable APM
APM.setEnabled(true)
APM.setEnabled(false)// Enable/disable APM
APM.setEnabled(true);
APM.setEnabled(false);Last updated