-
- All Implemented Interfaces:
-
com.bugsnag.android.JsonStream.Streamable
public class App implements JsonStream.Streamable
Stateless information set by the notifier about your app can be found on this class. These values can be accessed and amended if necessary.
-
-
Field Summary
Fields Modifier and Type Field Description private StringbuildUuidprivate StringbinaryArchprivate Stringidprivate StringreleaseStageprivate Stringversionprivate StringcodeBundleIdprivate Stringtypeprivate NumberversionCode
-
Method Summary
Modifier and Type Method Description final StringgetBuildUuid()final UnitsetBuildUuid(String buildUuid)final StringgetBinaryArch()The architecture of the running application binary final UnitsetBinaryArch(String binaryArch)The architecture of the running application binary final StringgetId()The package name of the application final UnitsetId(String id)The package name of the application final StringgetReleaseStage()The release stage set in Configuration. final UnitsetReleaseStage(String releaseStage)The release stage set in Configuration. final StringgetVersion()The version of the application set in Configuration. final UnitsetVersion(String version)The version of the application set in Configuration. final StringgetCodeBundleId()The revision ID from the manifest (React Native apps only) final UnitsetCodeBundleId(String codeBundleId)The revision ID from the manifest (React Native apps only) final StringgetType()The application type set in Configuration#version final UnitsetType(String type)The application type set in Configuration#version final NumbergetVersionCode()The version code of the application set in Configuration. final UnitsetVersionCode(Number versionCode)The version code of the application set in Configuration. UnittoStream(JsonStream writer)-
-
Method Detail
-
getBuildUuid
final String getBuildUuid()
-
setBuildUuid
final Unit setBuildUuid(String buildUuid)
-
getBinaryArch
final String getBinaryArch()
The architecture of the running application binary
-
setBinaryArch
final Unit setBinaryArch(String binaryArch)
The architecture of the running application binary
-
getReleaseStage
final String getReleaseStage()
The release stage set in Configuration.releaseStage
-
setReleaseStage
final Unit setReleaseStage(String releaseStage)
The release stage set in Configuration.releaseStage
-
getVersion
final String getVersion()
The version of the application set in Configuration.version
-
setVersion
final Unit setVersion(String version)
The version of the application set in Configuration.version
-
getCodeBundleId
final String getCodeBundleId()
The revision ID from the manifest (React Native apps only)
-
setCodeBundleId
final Unit setCodeBundleId(String codeBundleId)
The revision ID from the manifest (React Native apps only)
-
getVersionCode
final Number getVersionCode()
The version code of the application set in Configuration.versionCode
-
setVersionCode
final Unit setVersionCode(Number versionCode)
The version code of the application set in Configuration.versionCode
-
toStream
Unit toStream(JsonStream writer)
-
-
-
-