AppWithState

class AppWithState(var binaryArch: String?, var id: String?, var releaseStage: String?, var version: String?, var codeBundleId: String?, var buildUuid: String?, var type: String?, var versionCode: Number?, var duration: Number?, var durationInForeground: Number?, var inForeground: Boolean?, var 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

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

Properties

Link copied to clipboard

The architecture of the running application binary

Link copied to clipboard

The unique identifier for the build of the application set in Configuration.buildUuid

Link copied to clipboard

The revision ID from the manifest (React Native apps only)

Link copied to clipboard

The number of milliseconds the application was running before the event occurred

Link copied to clipboard

The number of milliseconds the application was running in the foreground before the event occurred

Link copied to clipboard
var id: String?

The package name of the application

Link copied to clipboard

Whether the application was in the foreground when the event occurred

Link copied to clipboard

Whether the application was launching when the event occurred

Link copied to clipboard

The release stage set in Configuration.releaseStage

Link copied to clipboard
var type: String?

The application type set in Configuration#version

Link copied to clipboard

The version of the application set in Configuration.version

Link copied to clipboard

The version code of the application set in Configuration.versionCode

Functions

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