Package 

Class AppDNAOptions


  • 
    public final class AppDNAOptions
    
                        

    Configuration options for the AppDNA SDK.

    • Method Detail

      • getConfigTTL

         final Long getConfigTTL()

        Remote config cache TTL in seconds. Default: 3600 (1 hour). SPEC-067.

      • 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 finally applicationInfo.icon.

      • getFramework

         final String getFramework()

        SPEC-070-C D4 — SDK-wrapper attribution (native | flutter | react_native), tagged on every event's device context (→ BigQuery framework column). Defaults to native; 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.

      • 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 (including sdk_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().