initWithoutStart static method
void
initWithoutStart(
- String appId, {
- bool isDebug = true,
- int age = 0,
- ZJCustomController? customController,
初始化SDK 可以在进入应用后立即调用 返回是否初始化成功
Implementation
static void initWithoutStart(
/// 应用ID
String appId,
{
/// 控制日志打印
bool isDebug = true,
/// 用户年龄,默认为0
int age = 0,
/// 隐私权限控制
ZJCustomController? customController}) {
_sdkMethodChannel.invokeMethod("initWithoutStart", {
"appId": appId,
"isDebug": isDebug,
"age": age,
"customController": customController?.toMap(),
});
}