NPAWConfiguration

data class NPAWConfiguration(val accountCode: String, val appContext: Context, val enableDiagnosticOptions: Boolean? = null, val logLevel: NPAWLogLevel? = null, val shouldUseProfileIdAsUserId: Boolean? = null, val provider: AnalyticsReporter.Provider = AnalyticsReporter.Provider.NPAW) : AnalyticsReporter.Configuration

NPAW (NicePeopleAtWork) specific extension of AnalyticsReporter.Configuration.

Constructors

Link copied to clipboard
constructor(accountCode: String, appContext: Context, enableDiagnosticOptions: Boolean? = null, logLevel: NPAWLogLevel? = null, shouldUseProfileIdAsUserId: Boolean? = null, provider: AnalyticsReporter.Provider = AnalyticsReporter.Provider.NPAW)

Properties

Link copied to clipboard

NicePeopleAtWork account code that indicates the customer account.

Link copied to clipboard
open override val appContext: Context
Link copied to clipboard

Optional flag to enable NPAW diagnostic options. A value of true enables diagnostics when supported; false or null leaves

Link copied to clipboard
val logLevel: NPAWLogLevel? = null

Optional log level for the NPAW SDK. If null, the provider's default logging behavior is used.

Link copied to clipboard
Link copied to clipboard

Optional flag. When true, the user's profile ID is sent as the NPAW user ID instead of the account user ID.