enableDebug static method

dynamic enableDebug(
  1. bool debug
)

Android only Available since: 2.1.0 or later.

Description: This method is used to notify the SDK of the current operating environment, default is false.

Use cases: This interface is called and set to true when the developer needs to use ZPNs in the debug environment.

debug debug is a bool ,if the current environment is debug,pass true.

Implementation

static enableDebug(bool debug) {
  ZPNsManager.enableDebug(debug);
}