Package-level declarations

Types

Link copied to clipboard
data class AppContext(    var appName: String,     var appId: String,     var channel: String,     var appVersion: String?,     var appBuild: String?,     var architecture: String?,     var deviceManufacturer: String?,     var deviceModel: String?,     var locale: String?,     var os: String?,     var osVersion: String?,     var androidSdkVersion: String?,     var debugTag: String?,     var installationDate: Long?,     var homeDirectory: String?,     var customTargetingAttributes: <Error class: unknown class>?)
Link copied to clipboard
data class AvailableExperiment(    var slug: String,     var userFacingName: String,     var userFacingDescription: String,     var branches: List<ExperimentBranch>,     var referenceBranch: String?)
Link copied to clipboard
data class CalculatedAttributes(var daysSinceInstall: Int?, var daysSinceUpdate: Int?, var language: String?, var region: String?)
Link copied to clipboard
interface Disposable
Link copied to clipboard
data class EnrolledExperiment(    var featureIds: List<String>,     var slug: String,     var userFacingName: String,     var userFacingDescription: String,     var branchSlug: String)
Link copied to clipboard
data class EnrollmentChangeEvent(var experimentSlug: String, var branchSlug: String, var reason: String?, var change: EnrollmentChangeEventType)
Link copied to clipboard
data class EnrollmentStatusExtraDef(    var branch: String?,     var conflictSlug: String?,     var errorString: String?,     var reason: String?,     var slug: String?,     var status: String?)
Link copied to clipboard
data class ExperimentBranch(var slug: String, var ratio: Int)
Link copied to clipboard
data class FeatureExposureExtraDef(var branch: String?, var slug: String, var featureId: String)
Link copied to clipboard
Link copied to clipboard
typealias JsonObject = <Error class: unknown class>

Typealias from the type name used in the UDL file to the custom type. This is needed because the UDL type name is used in function/method signatures. It's also what we have an external type that references a custom type.

Link copied to clipboard
data class MalformedFeatureConfigExtraDef(var branch: String?, var slug: String?, var featureId: String, var part: String)
Link copied to clipboard
interface MetricsHandler
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed class NimbusException : Exception
Link copied to clipboard
Link copied to clipboard
interface RecordedContext

Functions

Link copied to clipboard
fun getCalculatedAttributes(installationDate: Long?, dbPath: String, locale: String): CalculatedAttributes
Link copied to clipboard

A test utility used to validate event queries against the jexl evaluator.