目录

InitSettings

Class Info

agconnect.analytics.InitSettings

Allows you to configure global settings before the SDK is initialized.

Public Field Summary

Qualifier and Type

Field and Description

Boolean

debugMode

Indicates whether to enable the debug mode. The default value is false, indicating that the debug mode is disabled.

String

terminalName

Device name, which identifies a device in debug mode. The default value is the first eight characters of the AAID.

Boolean

logDisabled

Indicates whether to disable logging for AppGallery Connect. The default value is false, indicating that the logging function is enabled.

String

logLevel

Minimum log level, which is case-insensitive. The options are INFO, WARN, and ERROR.