AppWithState

class AppWithState(binaryArch: String?, id: String?, releaseStage: String?, version: String?, codeBundleId: String?, buildUuid: String?, type: String?, versionCode: Number?, duration: Number?, durationInForeground: Number?, inForeground: Boolean?, isLaunching: Boolean?) : App

Stateful information set by the notifier about your app can be found on this class. These values can be accessed and amended if necessary.

Constructors

AppWithState
Link copied to clipboard
fun AppWithState(binaryArch: String?, id: String?, releaseStage: String?, version: String?, codeBundleId: String?, buildUuid: String?, type: String?, versionCode: Number?, duration: Number?, durationInForeground: Number?, inForeground: Boolean?, isLaunching: Boolean?)

Functions

toStream
Link copied to clipboard
open override fun toStream(writer: JsonStream)

Properties

binaryArch
Link copied to clipboard
var binaryArch: String?
The architecture of the running application binary
buildUuid
Link copied to clipboard
var buildUuid: String?
The unique identifier for the build of the application set in Configuration.
codeBundleId
Link copied to clipboard
var codeBundleId: String?
The revision ID from the manifest (React Native apps only)
duration
Link copied to clipboard
var duration: Number?
The number of milliseconds the application was running before the event occurred
durationInForeground
Link copied to clipboard
var durationInForeground: Number?
The number of milliseconds the application was running in the foreground before the event occurred
id
Link copied to clipboard
var id: String?
The package name of the application
inForeground
Link copied to clipboard
var inForeground: Boolean?
Whether the application was in the foreground when the event occurred
isLaunching
Link copied to clipboard
var isLaunching: Boolean?
Whether the application was launching when the event occurred
releaseStage
Link copied to clipboard
var releaseStage: String?
The release stage set in Configuration.
type
Link copied to clipboard
var type: String?
The application type set in Configuration#version
version
Link copied to clipboard
var version: String?
The version of the application set in Configuration.
versionCode
Link copied to clipboard
var versionCode: Number?
The version code of the application set in Configuration.