-
public final class AppDNAEnvironmentAppDNAEnvironment — runtime config the SDK negotiates at boot time. Phase 0.1 demo DTO; serves as the canonical small example for codegen mechanism proof.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAppDNAEnvironment.Companion
-
Field Summary
Fields Modifier and Type Field Description private final StringapiBaseprivate final StringconfigBaseprivate final StringeventsBaseprivate final StringsdkVersionprivate final BooleanisDevprivate final DoublerolloutPercentageprivate final AppDNAEnvironmentRegionregionprivate final List<String>featureFlags
-
Constructor Summary
Constructors Constructor Description AppDNAEnvironment(String apiBase, String configBase, String eventsBase, String sdkVersion, Boolean isDev, Double rolloutPercentage, AppDNAEnvironmentRegion region, List<String> featureFlags)
-
Method Summary
Modifier and Type Method Description final StringgetApiBase()Base URL for the AppDNA REST API. final StringgetConfigBase()Base URL for SDK config (Firestore / proxy). final StringgetEventsBase()Base URL for the event-ingestion endpoint. final StringgetSdkVersion()Semver version string of the SDK build. final BooleangetIsDev()True when SDK is initialized in dev mode. final DoublegetRolloutPercentage()Optional gradual-rollout cap; 0-100, undefined = full rollout. final AppDNAEnvironmentRegiongetRegion()Data-residency region the SDK is bound to. final List<String>getFeatureFlags()Active server-resolved feature-flag keys for this device. -
-
Method Detail
-
getApiBase
final String getApiBase()
Base URL for the AppDNA REST API.
-
getConfigBase
final String getConfigBase()
Base URL for SDK config (Firestore / proxy).
-
getEventsBase
final String getEventsBase()
Base URL for the event-ingestion endpoint.
-
getSdkVersion
final String getSdkVersion()
Semver version string of the SDK build.
-
getRolloutPercentage
final Double getRolloutPercentage()
Optional gradual-rollout cap; 0-100, undefined = full rollout.
-
getRegion
final AppDNAEnvironmentRegion getRegion()
Data-residency region the SDK is bound to.
-
getFeatureFlags
final List<String> getFeatureFlags()
Active server-resolved feature-flag keys for this device.
-
-
-
-