-
public class AppDNAMain entry point for the AppDNA Android SDK. All public methods are thread-safe.
-
-
Field Summary
-
Method Summary
Modifier and Type Method Description final static ColorbrandAccentColor()SPEC-419 brand-threading — resolved Compose Color for the brand accent, falling back to the #6366F1 brand indigo when no brand is configured/loaded. final static UnitsetLifecycleDelegate(AppDNALifecycleDelegate delegate)Register/clear the SPEC-404 lifecycle delegate. final static UnitsetInitDelegate(AppDNAInitDelegate delegate)Register a delegate that receives AppDNAInitDelegate.onInitDegraded callbacks when the SDK detects a recoverable init failure. final static UnitregisterCustomView(String key, Function1<Map<String, Object>, Unit> factory)Register a custom Composable factory for use in onboarding content blocks. final static ContextgetApplicationContext()Internal accessor used by manager classes (e.g. final static Unitconfigure(Context context, String apiKey, Environment environment, AppDNAOptions options)Configure the SDK. final static Unitidentify(String userId, Map<String, Object> traits)Link the anonymous device to a known user. final static Unitidentify(String userId)Link the anonymous device to a known user. final Map<String, Object>getUserTraits()Get current user traits (for audience evaluation). final static Unitreset()Clear user identity (keeps anonymous ID). final Unittrack(String event, Map<String, Object> properties)final UnitnotifyScreenAppeared(String screenName)SPEC-070-A A. final static Unitflush()Force flush all queued events immediately. final ObjectgetRemoteConfig(String key)Get a remote config value by key. final static UnitforceRefreshConfig()SPEC-067: Force an immediate config refresh, bypassing the cache TTL. final BooleanisFeatureEnabled(String flag)Check if a feature flag is enabled. final static StringgetExperimentVariant(String experimentId)Get the variant assignment for an experiment. final static BooleanisInVariant(String experimentId, String variantId)Check if the user is in a specific variant. final static ObjectgetExperimentConfig(String experimentId, String key)Get a specific config value from the assigned variant's payload. final static UnitpresentPaywall(Activity activity, String id, PaywallContext context, AppDNAPaywallDelegate listener)Present a paywall by ID from the given Activity. final static UnitpresentPaywall(Activity activity, String id, PaywallContext context)Present a paywall by ID from the given Activity. final static UnitpresentPaywall(Activity activity, String id)Present a paywall by ID from the given Activity. final static UnitpresentPaywallByPlacement(Activity activity, String placement, PaywallContext context, AppDNAPaywallDelegate listener)SPEC-070-A finalization B6#P0-24 — facade overload for placement-based paywall presentation. final static UnitpresentPaywallByPlacement(Activity activity, String placement, PaywallContext context)SPEC-070-A finalization B6#P0-24 — facade overload for placement-based paywall presentation. final static UnitpresentPaywallByPlacement(Activity activity, String placement)SPEC-070-A finalization B6#P0-24 — facade overload for placement-based paywall presentation. final static BooleanpresentOnboarding(Activity activity, String flowId, AppDNAOnboardingDelegate listener)Present an onboarding flow by ID. final static BooleanpresentOnboarding(Activity activity, String flowId)Present an onboarding flow by ID. final static BooleanpresentOnboarding(Activity activity)Present an onboarding flow by ID. final UnitshowScreen(String screenId, Function1<ScreenResult, Unit> callback)Show a server-driven screen by ID. final BooleanpreviewScreen(String json)SPEC-070-A I.11 — preview a server-driven screen from a raw JSON payload (no remote-config fetch). final IntegerdebugAppliedConfigVersion(String flowId)SPEC-419 D6 — the applied (fetched + parsed) onboarding config version, for the structural parity harness's readiness poll. final LocationDatagetLocationData(String fieldId)SPEC-070-A I. final UnitregisterBackgroundTasks()SPEC-070-A I.11 — schedule (or re-schedule) all SDK-owned background tasks. final Stringdiagnose()SPEC-070-A I.11 — debug snapshot of the SDK's bootstrap state. final static UnitshowFlow(String flowId, Function1<FlowResult, Unit> callback)Show a server-driven multi-screen flow by ID. final static UnitshowFlow(String flowId)Show a server-driven multi-screen flow by ID. final static UnitdismissScreen()Dismiss the currently presented server-driven screen or flow. final static UnitenableNavigationInterception(List<String> forScreens)Enable navigation interception for server-driven screens. final static UnitenableNavigationInterception()Enable navigation interception for server-driven screens. final UnitdisableNavigationInterception()Disable navigation interception. final BooleanisConsentGranted()Check if analytics consent is granted. final static UnitshowPaywall(String id)Shorthand to show a paywall by ID (used by SDUI screen action routing). final static UnitshowSurvey(String id)Shorthand to show a survey by ID (used by screen action routing). final static UnitsetPushToken(String token)Set the FCM push token. final static UnitsetPushPermission(Boolean granted)Report push permission status. final UnittrackPushDelivered(String pushId)Track that a push notification was delivered. final UnittrackPushTapped(String pushId, String action)Track that a push notification was tapped. final static BooleanhandlePushTap(Intent intent)SPEC-070-A H.5 + H. final static UnitonNewPushToken(String token)Called when FCM token refreshes. final static UnitsetSessionData(String key, Object value)Store a key-value pair in the cross-module session data store. final static ObjectgetSessionData(String key)Retrieve a session data value by key. final static UnitclearSessionData()Clear all app-defined session data. final UnitsetConsent(Boolean analytics)Set analytics consent. final static UnitsetLogLevel(String level)Set the SDK log level at runtime. final static UnitsetLogLevel(LogLevel level)SPEC-070-A finalization Phase C — strict-typed LogLevel overload. final static ForcedThemegetForcedTheme()Read the currently-set forced theme. final static UnitsetForcedTheme(ForcedTheme theme)Set or clear the SDK-wide forced theme override. final UnitonWebEntitlementChanged(Function1<WebEntitlement, Unit> listener)Register a listener for web entitlement changes. final UnitcheckDeferredDeepLink(Function1<DeferredDeepLink, Unit> callback)Check for a deferred deep link on first launch. final UnitonReady(Function0<Unit> callback)Register a callback that fires when the SDK is fully initialized. final Unitshutdown()Shut down the SDK and release resources. final StringgetSdkVersion()SDK version string. final static StringgetBrandAccentHex()SPEC-419 brand-threading — the app's brand accent hex (from /settings/brand, served via Firestoreconfig/brand).final static UnitsetBrandAccentHex(String brandAccentHex)final static ThrowablegetLastInitError()final UnitsetLastInitError(Throwable lastInitError)final static IntegergetNotificationIcon()final UnitsetNotificationIcon(Integer notificationIcon)final static Pair<String, String>getRuntimeLock()final UnitsetRuntimeLock(Pair<String, String> runtimeLock)final static PushModulegetPush()Push notification module. final static BillingModulegetBilling()Billing module. final static AppDNAPushDelegategetPushDelegate()final static UnitsetPushDelegate(AppDNAPushDelegate pushDelegate)final static AppDNABillingDelegategetBillingDelegate()final static UnitsetBillingDelegate(AppDNABillingDelegate billingDelegate)final static AppDNAScreenDelegategetScreenDelegate()final static UnitsetScreenDelegate(AppDNAScreenDelegate screenDelegate)final static SharedFlow<Unit>getConfigUpdated()Hot Flow that emits Unit on every successful remote-config refresh. final static OnboardingModulegetOnboarding()Onboarding module. final static PaywallModulegetPaywall()Paywall module. final static RemoteConfigModulegetRemoteConfig()Remote config module. final static FeaturesModulegetFeatures()Feature flags module. final static InAppMessagesModulegetInAppMessages()In-app messages module. final static SurveysModulegetSurveys()Surveys module. final static DeepLinksModulegetDeepLinks()Deep links module. final static ExperimentsModulegetExperiments()Experiments module. final static Map<String, Function1<Map<String, Object>, Unit>>getRegisteredCustomViews()Registry of developer-provided Composable factories keyed by view_key.final static IntegergetCurrentBundleVersion()Current config bundle version reported in events. final static UnitsetCurrentBundleVersion(Integer currentBundleVersion)final WebEntitlementgetWebEntitlement()-
-
Method Detail
-
brandAccentColor
final static Color brandAccentColor()
SPEC-419 brand-threading — resolved Compose Color for the brand accent, falling back to the #6366F1 brand indigo when no brand is configured/loaded. Replaces hardcoded
Color(0xFF6366F1)at SDK render-default sites.
-
setLifecycleDelegate
final static Unit setLifecycleDelegate(AppDNALifecycleDelegate delegate)
Register/clear the SPEC-404 lifecycle delegate.
-
setInitDelegate
final static Unit setInitDelegate(AppDNAInitDelegate delegate)
Register a delegate that receives AppDNAInitDelegate.onInitDegraded callbacks when the SDK detects a recoverable init failure.
-
registerCustomView
final static Unit registerCustomView(String key, Function1<Map<String, Object>, Unit> factory)
Register a custom Composable factory for use in onboarding content blocks.
- Parameters:
key- Theview_keyvalue from the block config.factory- A composable factory that receives the block's custom config map.
-
getApplicationContext
final static Context getApplicationContext()
Internal accessor used by manager classes (e.g. ScreenManager) that need to launch host Activities from outside an Activity context. Returns null when the SDK has not yet been configured.
SPEC-070-A finalization Lens B P0 — required by ScreenHostActivity launch path so
AppDNA.showScreen(id)can present a real Activity even when the caller didn't supply one (matches iOS whereAppDNA.showScreenreads the application's key window itself).
-
configure
final static Unit configure(Context context, String apiKey, Environment environment, AppDNAOptions options)
Configure the SDK. Call once at Application.onCreate().
-
identify
@JvmOverloads() final static Unit identify(String userId, Map<String, Object> traits)
Link the anonymous device to a known user.
-
identify
@JvmOverloads() final static Unit identify(String userId)
Link the anonymous device to a known user.
-
getUserTraits
final Map<String, Object> getUserTraits()
Get current user traits (for audience evaluation).
-
reset
final static Unit reset()
Clear user identity (keeps anonymous ID).
Resets the host-supplied user identity, experiment exposures, the in-app message session, the survey session, the web-entitlement observer, and the journey-triggered pending-message listener. Does NOT clear the device's first-identifier anchor used by the cross-account-entitlement-leak defence (see
EntitlementOwnerFilter) — that anchor is intentionally durable for the lifetime of the app installation. App uninstall, or Settings → Apps → Clear data, is the only path that wipes it. This makesreset()safe to call as the host's "sign-out" hook without re-opening the leak surface for a subsequent user signing in on the same device.
-
notifyScreenAppeared
final Unit notifyScreenAppeared(String screenName)
SPEC-070-A A.10: notify the SDK that a Compose-only screen has appeared (Activity-based screens fire automatically via the lifecycle callback registered in
configure()). Hosts should call this fromLaunchedEffect(Unit)of any composable that represents a navigable destination if they want it to participate in NavigationInterceptor hooks.
-
getRemoteConfig
final Object getRemoteConfig(String key)
Get a remote config value by key.
-
forceRefreshConfig
final static Unit forceRefreshConfig()
SPEC-067: Force an immediate config refresh, bypassing the cache TTL.
-
isFeatureEnabled
final Boolean isFeatureEnabled(String flag)
Check if a feature flag is enabled.
-
getExperimentVariant
final static String getExperimentVariant(String experimentId)
Get the variant assignment for an experiment. Exposure is auto-tracked on first call per session.
-
isInVariant
final static Boolean isInVariant(String experimentId, String variantId)
Check if the user is in a specific variant.
-
getExperimentConfig
final static Object getExperimentConfig(String experimentId, String key)
Get a specific config value from the assigned variant's payload.
-
presentPaywall
@JvmOverloads() final static Unit presentPaywall(Activity activity, String id, PaywallContext context, AppDNAPaywallDelegate listener)
Present a paywall by ID from the given Activity. Fetches the paywall config from remote config and presents the paywall UI.
- Parameters:
activity- The Activity to present from.id- The paywall ID (matching Firestore config).context- Optional paywall context (placement, experiment, variant).listener- Optional listener for paywall lifecycle events.
-
presentPaywall
@JvmOverloads() final static Unit presentPaywall(Activity activity, String id, PaywallContext context)
Present a paywall by ID from the given Activity. Fetches the paywall config from remote config and presents the paywall UI.
- Parameters:
activity- The Activity to present from.id- The paywall ID (matching Firestore config).context- Optional paywall context (placement, experiment, variant).
-
presentPaywall
@JvmOverloads() final static Unit presentPaywall(Activity activity, String id)
Present a paywall by ID from the given Activity. Fetches the paywall config from remote config and presents the paywall UI.
- Parameters:
activity- The Activity to present from.id- The paywall ID (matching Firestore config).
-
presentPaywallByPlacement
@JvmOverloads() final static Unit presentPaywallByPlacement(Activity activity, String placement, PaywallContext context, AppDNAPaywallDelegate listener)
SPEC-070-A finalization B6#P0-24 — facade overload for placement-based paywall presentation. Mirrors iOS
AppDNA.presentPaywall(placement:from:context:delegate:)which selects the best paywall by audience rules + priority. The underlying selection algorithm lives in ai.appdna.sdk.paywalls.PaywallManager.presentByPlacement — this is a thin wrapper so hosts don't have to reach throughAppDNA.paywalls.manager?.presentByPlacement(...).
-
presentPaywallByPlacement
@JvmOverloads() final static Unit presentPaywallByPlacement(Activity activity, String placement, PaywallContext context)
SPEC-070-A finalization B6#P0-24 — facade overload for placement-based paywall presentation. Mirrors iOS
AppDNA.presentPaywall(placement:from:context:delegate:)which selects the best paywall by audience rules + priority. The underlying selection algorithm lives in ai.appdna.sdk.paywalls.PaywallManager.presentByPlacement — this is a thin wrapper so hosts don't have to reach throughAppDNA.paywalls.manager?.presentByPlacement(...).
-
presentPaywallByPlacement
@JvmOverloads() final static Unit presentPaywallByPlacement(Activity activity, String placement)
SPEC-070-A finalization B6#P0-24 — facade overload for placement-based paywall presentation. Mirrors iOS
AppDNA.presentPaywall(placement:from:context:delegate:)which selects the best paywall by audience rules + priority. The underlying selection algorithm lives in ai.appdna.sdk.paywalls.PaywallManager.presentByPlacement — this is a thin wrapper so hosts don't have to reach throughAppDNA.paywalls.manager?.presentByPlacement(...).
-
presentOnboarding
@JvmOverloads() final static Boolean presentOnboarding(Activity activity, String flowId, AppDNAOnboardingDelegate listener)
Present an onboarding flow by ID. Returns false if config is unavailable. If flowId is null, the active flow from remote config is used.
- Parameters:
activity- The Activity to present from.flowId- Optional flow ID.listener- Optional listener for onboarding lifecycle events.
-
presentOnboarding
@JvmOverloads() final static Boolean presentOnboarding(Activity activity, String flowId)
Present an onboarding flow by ID. Returns false if config is unavailable. If flowId is null, the active flow from remote config is used.
- Parameters:
activity- The Activity to present from.flowId- Optional flow ID.
-
presentOnboarding
@JvmOverloads() final static Boolean presentOnboarding(Activity activity)
Present an onboarding flow by ID. Returns false if config is unavailable. If flowId is null, the active flow from remote config is used.
- Parameters:
activity- The Activity to present from.
-
showScreen
final Unit showScreen(String screenId, Function1<ScreenResult, Unit> callback)
Show a server-driven screen by ID.
-
previewScreen
final Boolean previewScreen(String json)
SPEC-070-A I.11 — preview a server-driven screen from a raw JSON payload (no remote-config fetch). Mirrors iOS
AppDNA.previewScreen(json:). Used by the console live-preview pipe + integration tests. Returnstrueif the JSON parsed and a screen was presented,falseotherwise.
-
debugAppliedConfigVersion
final Integer debugAppliedConfigVersion(String flowId)
SPEC-419 D6 — the applied (fetched + parsed) onboarding config version, for the structural parity harness's readiness poll. The host app surfaces this into a hidden
testTag("adn.appliedConfigVersion")label the harness polls until it equals the just-published version. Debug only — R8 elides in release builds.
-
getLocationData
final LocationData getLocationData(String fieldId)
SPEC-070-A I.11 — fetch the structured ai.appdna.sdk.onboarding.LocationData captured by the named onboarding form field. Returns
nullif the field hasn't been answered yet, was answered with a free-text value, or no flow has run this session. Mirrors iOSAppDNA.getLocationData(fieldId:).
-
registerBackgroundTasks
final Unit registerBackgroundTasks()
SPEC-070-A I.11 — schedule (or re-schedule) all SDK-owned background tasks. Hosts can call this to opt into the periodic config refresh job before configure returns, or after the host's WorkManager has finished initialising. Idempotent — WorkManager dedupes by unique-name. Mirrors iOS
AppDNA.registerBackgroundTasks().
-
diagnose
final String diagnose()
SPEC-070-A I.11 — debug snapshot of the SDK's bootstrap state. Returns a multi-line human-readable string covering: configured flag, env (production / sandbox), api base url, identity (anon_id + user_id), org/app ids, sdk version, current bundle version, consent status. Mirrors iOS
AppDNA.diagnose(). Safe to call before configure() — unset fields surface as<unset>.
-
showFlow
@JvmOverloads() final static Unit showFlow(String flowId, Function1<FlowResult, Unit> callback)
Show a server-driven multi-screen flow by ID. Mirrors iOS
AppDNA.showFlow(_:completion:)at AppDNA.swift:406. Forwards toScreenManager.shared.showFlow(...). R87 P2 — surfaced as@JvmStatic+@JvmOverloadsso Java callers can callAppDNA.showFlow("welcome")without supplying a null callback.
-
showFlow
@JvmOverloads() final static Unit showFlow(String flowId)
Show a server-driven multi-screen flow by ID. Mirrors iOS
AppDNA.showFlow(_:completion:)at AppDNA.swift:406. Forwards toScreenManager.shared.showFlow(...). R87 P2 — surfaced as@JvmStatic+@JvmOverloadsso Java callers can callAppDNA.showFlow("welcome")without supplying a null callback.
-
dismissScreen
final static Unit dismissScreen()
Dismiss the currently presented server-driven screen or flow.
-
enableNavigationInterception
@JvmOverloads() final static Unit enableNavigationInterception(List<String> forScreens)
Enable navigation interception for server-driven screens.
-
enableNavigationInterception
@JvmOverloads() final static Unit enableNavigationInterception()
Enable navigation interception for server-driven screens.
-
disableNavigationInterception
final Unit disableNavigationInterception()
Disable navigation interception.
-
isConsentGranted
final Boolean isConsentGranted()
Check if analytics consent is granted.
-
showPaywall
final static Unit showPaywall(String id)
Shorthand to show a paywall by ID (used by SDUI screen action routing).
Resolves the most-recently-resumed Activity (tracked by NavigationInterceptorActivityCallbacks) and routes through presentPaywall. Mirrors iOS
AppDNA.showPaywall(_:)which presents from the top-most view controller.
-
showSurvey
final static Unit showSurvey(String id)
Shorthand to show a survey by ID (used by screen action routing).
-
setPushToken
final static Unit setPushToken(String token)
Set the FCM push token. Call from FirebaseMessagingService.onNewToken(). This registers the token with the backend for direct push delivery.
-
setPushPermission
final static Unit setPushPermission(Boolean granted)
Report push permission status.
-
trackPushDelivered
final Unit trackPushDelivered(String pushId)
Track that a push notification was delivered. Call from FirebaseMessagingService.onMessageReceived().
-
trackPushTapped
final Unit trackPushTapped(String pushId, String action)
Track that a push notification was tapped. Call from the tap intent handler.
-
handlePushTap
final static Boolean handlePushTap(Intent intent)
SPEC-070-A H.5 + H.9 — single entry point hosts call from
Activity.onCreate(savedInstanceState)/onNewIntent(intent)to:Track
push_tapped(carries push_id + action_id),Fire AppDNAPushDelegate.onPushTapped with a typed PushPayload,
Auto-route built-in actions (
screen_id,deep_link,action_type=show_screen, etc.) without requiring host code.
Safe to call with any intent — does nothing if
push_idextra is absent (so hosts can call unconditionally).
-
onNewPushToken
final static Unit onNewPushToken(String token)
Called when FCM token refreshes. Re-registers with backend.
SPEC-070-A finalization Lens D P0: when called BEFORE configure, buffer the token in pendingPushTokenBeforeConfigure and replay it inside
configure()oncepushTokenManageris wired. Without this, apps that registered FCM at boot dropped tokens silently.
-
setSessionData
final static Unit setSessionData(String key, Object value)
Store a key-value pair in the cross-module session data store. Available to all modules via
{{session.key}}template variables.
-
getSessionData
final static Object getSessionData(String key)
Retrieve a session data value by key.
-
clearSessionData
final static Unit clearSessionData()
Clear all app-defined session data.
-
setConsent
final Unit setConsent(Boolean analytics)
Set analytics consent. When false, events are silently dropped.
-
setLogLevel
final static Unit setLogLevel(String level)
Set the SDK log level at runtime. Valid values: "none", "error", "warning", "info", "debug".
-
setLogLevel
final static Unit setLogLevel(LogLevel level)
SPEC-070-A finalization Phase C — strict-typed LogLevel overload. Mirrors iOS
setLogLevel(_ level: LogLevel)(typed enum, no stringly-typed fallback). Java callers can use either overload (AppDNA.setLogLevel("debug")orAppDNA.setLogLevel(LogLevel.DEBUG)).
-
getForcedTheme
final static ForcedTheme getForcedTheme()
Read the currently-set forced theme. Null means "follow system".
-
setForcedTheme
final static Unit setForcedTheme(ForcedTheme theme)
Set or clear the SDK-wide forced theme override.
-
onWebEntitlementChanged
final Unit onWebEntitlementChanged(Function1<WebEntitlement, Unit> listener)
Register a listener for web entitlement changes.
-
checkDeferredDeepLink
final Unit checkDeferredDeepLink(Function1<DeferredDeepLink, Unit> callback)
Check for a deferred deep link on first launch. Call after configure() and onReady.
-
onReady
final Unit onReady(Function0<Unit> callback)
Register a callback that fires when the SDK is fully initialized.
-
shutdown
final Unit shutdown()
Shut down the SDK and release resources. Call from Application.onTerminate().
SPEC-070-A H.24 — release ALL native handles + cancel ALL coroutine scopes. Previous implementation cancelled
scopebut leakednativeBillingManager's BillingClient connection, the event SQLite handle, the survey/messages/push manager scopes, and the periodic config-refresh worker.
-
getSdkVersion
final String getSdkVersion()
SDK version string.
-
getBrandAccentHex
final static String getBrandAccentHex()
SPEC-419 brand-threading — the app's brand accent hex (from
/settings/brand, served via Firestoreconfig/brand). When set, SDK render defaults use it instead of the hardcoded #6366F1 brand indigo for accent/link/badge/selected colors. Per-element authored colors still take precedence. nil until brand loads.
-
setBrandAccentHex
final static Unit setBrandAccentHex(String brandAccentHex)
-
getLastInitError
final static Throwable getLastInitError()
-
setLastInitError
final Unit setLastInitError(Throwable lastInitError)
-
getNotificationIcon
final static Integer getNotificationIcon()
-
setNotificationIcon
final Unit setNotificationIcon(Integer notificationIcon)
-
getRuntimeLock
final static Pair<String, String> getRuntimeLock()
-
setRuntimeLock
final Unit setRuntimeLock(Pair<String, String> runtimeLock)
-
getPush
final static PushModule getPush()
Push notification module.
-
getBilling
final static BillingModule getBilling()
Billing module.
-
getPushDelegate
final static AppDNAPushDelegate getPushDelegate()
-
setPushDelegate
final static Unit setPushDelegate(AppDNAPushDelegate pushDelegate)
-
getBillingDelegate
final static AppDNABillingDelegate getBillingDelegate()
-
setBillingDelegate
final static Unit setBillingDelegate(AppDNABillingDelegate billingDelegate)
-
getScreenDelegate
final static AppDNAScreenDelegate getScreenDelegate()
-
setScreenDelegate
final static Unit setScreenDelegate(AppDNAScreenDelegate screenDelegate)
-
getConfigUpdated
final static SharedFlow<Unit> getConfigUpdated()
Hot Flow that emits Unit on every successful remote-config refresh.
-
getOnboarding
final static OnboardingModule getOnboarding()
Onboarding module.
-
getPaywall
final static PaywallModule getPaywall()
Paywall module.
-
getRemoteConfig
final static RemoteConfigModule getRemoteConfig()
Remote config module.
-
getFeatures
final static FeaturesModule getFeatures()
Feature flags module.
-
getInAppMessages
final static InAppMessagesModule getInAppMessages()
In-app messages module.
-
getSurveys
final static SurveysModule getSurveys()
Surveys module.
-
getDeepLinks
final static DeepLinksModule getDeepLinks()
Deep links module.
-
getExperiments
final static ExperimentsModule getExperiments()
Experiments module.
-
getRegisteredCustomViews
final static Map<String, Function1<Map<String, Object>, Unit>> getRegisteredCustomViews()
Registry of developer-provided Composable factories keyed by
view_key. Used by thecustom_viewcontent block to render developer escape-hatch views.
-
getCurrentBundleVersion
final static Integer getCurrentBundleVersion()
Current config bundle version reported in events.
-
setCurrentBundleVersion
final static Unit setCurrentBundleVersion(Integer currentBundleVersion)
-
getWebEntitlement
final WebEntitlement getWebEntitlement()
-
-
-
-