-
@JsonClass(generateAdapter = true) public final class EnvelopeResourceImmutable attributes about the app, device, and Embrace SDK internal state for duration of an app launch. Contains what previously was in AppInfo and DeviceInfo
-
-
Field Summary
Fields Modifier and Type Field Description private final StringappVersionprivate final AppFrameworkappFrameworkprivate final StringbuildIdprivate final StringappEcosystemIdprivate final StringbuildTypeprivate final StringbuildFlavorprivate final Stringenvironmentprivate final StringbundleVersionprivate final StringsdkVersionprivate final IntegersdkSimpleVersionprivate final StringreactNativeBundleIdprivate final StringreactNativeVersionprivate final StringjavascriptPatchNumberprivate final StringhostedPlatformVersionprivate final StringhostedSdkVersionprivate final StringunityBuildIdprivate final StringdeviceManufacturerprivate final StringdeviceModelprivate final StringdeviceArchitectureprivate final Booleanjailbrokenprivate final LongdiskTotalCapacityprivate final StringosTypeprivate final StringosNameprivate final StringosVersionprivate final StringosCodeprivate final StringscreenResolutionprivate final IntegernumCores
-
Constructor Summary
Constructors Constructor Description EnvelopeResource(String appVersion, AppFramework appFramework, String buildId, String appEcosystemId, String buildType, String buildFlavor, String environment, String bundleVersion, String sdkVersion, Integer sdkSimpleVersion, String reactNativeBundleId, String reactNativeVersion, String javascriptPatchNumber, String hostedPlatformVersion, String hostedSdkVersion, String unityBuildId, String deviceManufacturer, String deviceModel, String deviceArchitecture, Boolean jailbroken, Long diskTotalCapacity, String osType, String osName, String osVersion, String osCode, String screenResolution, Integer numCores)
-
Method Summary
Modifier and Type Method Description final StringgetAppVersion()final AppFrameworkgetAppFramework()final StringgetBuildId()final StringgetAppEcosystemId()final StringgetBuildType()final StringgetBuildFlavor()final StringgetEnvironment()final StringgetBundleVersion()final StringgetSdkVersion()final IntegergetSdkSimpleVersion()final StringgetReactNativeBundleId()final StringgetReactNativeVersion()final StringgetJavascriptPatchNumber()final StringgetHostedPlatformVersion()final StringgetHostedSdkVersion()final StringgetUnityBuildId()final StringgetDeviceManufacturer()final StringgetDeviceModel()final StringgetDeviceArchitecture()final BooleangetJailbroken()final LonggetDiskTotalCapacity()final StringgetOsType()final StringgetOsName()final StringgetOsVersion()final StringgetOsCode()final StringgetScreenResolution()final IntegergetNumCores()-
-
Constructor Detail
-
EnvelopeResource
EnvelopeResource(String appVersion, AppFramework appFramework, String buildId, String appEcosystemId, String buildType, String buildFlavor, String environment, String bundleVersion, String sdkVersion, Integer sdkSimpleVersion, String reactNativeBundleId, String reactNativeVersion, String javascriptPatchNumber, String hostedPlatformVersion, String hostedSdkVersion, String unityBuildId, String deviceManufacturer, String deviceModel, String deviceArchitecture, Boolean jailbroken, Long diskTotalCapacity, String osType, String osName, String osVersion, String osCode, String screenResolution, Integer numCores)
- Parameters:
appVersion- The app's publicly displayed version name.appFramework- The frameworks in use by the app.buildId- A unique ID for the build that is generated at build time.appEcosystemId- Unique identifier for the app in its ecosystem.buildType- (Android) - the buildType name.buildFlavor- (Android) - the flavor name.environment- The name of the environment, i.e.bundleVersion- The app bundle version (on Android this is versionCode).sdkVersion- The version number of the Embrace SDK.sdkSimpleVersion- The simple version number of the Embrace SDK.reactNativeBundleId- (React Native) the MD5 hash of the React Native bundle file.reactNativeVersion- (React Native) the React Native version number.javascriptPatchNumber- (React Native) the JavaScript patch number.hostedPlatformVersion- The version of the hosted platform engine, i.e.hostedSdkVersion- The version of the hosted SDK used.unityBuildId- (Unity) the Unity build ID number.deviceManufacturer- The device manufacturer.deviceModel- The device model.deviceArchitecture- The CPU architecture used by the device.jailbroken- Whether the device is rooted/jailbroken or not.diskTotalCapacity- The total capacity of internal storage for the whole device.osType- A hardcoded string representing the operating system in use.osVersion- The human readable OS version string.osCode- (Android) The OS version code.screenResolution- The screen resolution.numCores- (Android) The number of CPU cores the device has.
-
-
Method Detail
-
getAppVersion
final String getAppVersion()
-
getAppFramework
final AppFramework getAppFramework()
-
getBuildId
final String getBuildId()
-
getAppEcosystemId
final String getAppEcosystemId()
-
getBuildType
final String getBuildType()
-
getBuildFlavor
final String getBuildFlavor()
-
getEnvironment
final String getEnvironment()
-
getBundleVersion
final String getBundleVersion()
-
getSdkVersion
final String getSdkVersion()
-
getSdkSimpleVersion
final Integer getSdkSimpleVersion()
-
getReactNativeBundleId
final String getReactNativeBundleId()
-
getReactNativeVersion
final String getReactNativeVersion()
-
getJavascriptPatchNumber
final String getJavascriptPatchNumber()
-
getHostedPlatformVersion
final String getHostedPlatformVersion()
-
getHostedSdkVersion
final String getHostedSdkVersion()
-
getUnityBuildId
final String getUnityBuildId()
-
getDeviceManufacturer
final String getDeviceManufacturer()
-
getDeviceModel
final String getDeviceModel()
-
getDeviceArchitecture
final String getDeviceArchitecture()
-
getJailbroken
final Boolean getJailbroken()
-
getDiskTotalCapacity
final Long getDiskTotalCapacity()
-
getOsVersion
final String getOsVersion()
-
getScreenResolution
final String getScreenResolution()
-
getNumCores
final Integer getNumCores()
-
-
-
-