-
public final class AppDNAOptionsConfiguration options for the AppDNA SDK.
-
-
Field Summary
Fields Modifier and Type Field Description private final LongflushIntervalprivate final IntegerbatchSizeprivate final LongconfigTTLprivate final LogLevellogLevelprivate final IntegernotificationIconprivate final Stringframeworkprivate final StringframeworkVersionprivate final BillingProviderbillingProviderprivate final BooleanrequireConsentprivate final LongvetoTimeout
-
Method Summary
Modifier and Type Method Description final LonggetFlushInterval()Automatic flush interval in seconds. final IntegergetBatchSize()Number of events per flush batch. final LonggetConfigTTL()Remote config cache TTL in seconds. final LogLevelgetLogLevel()Log verbosity. final IntegergetNotificationIcon()SPEC-070-A H.21 — host-supplied small-icon drawable resource id used for AppDNA push notifications. final StringgetFramework()SPEC-070-C D4 — SDK-wrapper attribution ( native|flutter|react_native), tagged on every event's device context (→ BigQueryframeworkcolumn).final StringgetFrameworkVersion()SPEC-070-C — the wrapper SDK's OWN published version (e.g. final BillingProvidergetBillingProvider()SPEC-070-B PN row 6 (N1) — billing backend. final BooleangetRequireConsent()SPEC-070-B PN row 14 (AC-36) — when true, analytics stay OFF until the host calls setConsent(analytics), and no event (includingsdk_initialized) is emitted before that decision.final LonggetVetoTimeout()SPEC-070-B PN row 16 (W12) — how long a wrapper waits for a host veto (seconds) before applying the hook's default. -
-
Method Detail
-
getFlushInterval
final Long getFlushInterval()
Automatic flush interval in seconds. Default: 30.
-
getBatchSize
final Integer getBatchSize()
Number of events per flush batch. Default: 20.
-
getConfigTTL
final Long getConfigTTL()
Remote config cache TTL in seconds. Default: 3600 (1 hour). SPEC-067.
-
getLogLevel
final LogLevel getLogLevel()
Log verbosity. Default: WARNING.
-
getNotificationIcon
final Integer getNotificationIcon()
SPEC-070-A H.21 — host-supplied small-icon drawable resource id used for AppDNA push notifications. When
0, AppDNAMessagingService falls through to manifest<meta-data android:name="com.google.firebase.messaging.default_notification_icon">and finallyapplicationInfo.icon.
-
getFramework
final String getFramework()
SPEC-070-C D4 — SDK-wrapper attribution (
native|flutter|react_native), tagged on every event's device context (→ BigQueryframeworkcolumn). Defaults tonative; the Flutter/RN wrappers pass their identity via configure().
-
getFrameworkVersion
final String getFrameworkVersion()
SPEC-070-C — the wrapper SDK's OWN published version (e.g. Flutter "1.0.5"), so diagnose() reports the wrapper version per platform. null for native hosts.
-
getBillingProvider
final BillingProvider getBillingProvider()
SPEC-070-B PN row 6 (N1) — billing backend. Defaults to BillingProvider.StoreKit2 (Google Play Billing on Android), matching iOS's
.storeKit2default.
-
getRequireConsent
final Boolean getRequireConsent()
SPEC-070-B PN row 14 (AC-36) — when true, analytics stay OFF until the host calls
setConsent(analytics), and no event (includingsdk_initialized) is emitted before that decision. When false — the default, preserving today's behavior — analytics are opt-out.Either way the decision is now persisted:
setConsent(false)used to be silently undone by the next cold start.
-
getVetoTimeout
final Long getVetoTimeout()
SPEC-070-B PN row 16 (W12) — how long a wrapper waits for a host veto (seconds) before applying the hook's default. Surfaced through
diagnose().
-
-
-
-