Package io.sentry

Class ProfilingTraceData

    • Constructor Detail

      • ProfilingTraceData

        public ProfilingTraceData​(@NotNull
                                  @NotNull java.io.File traceFile,
                                  @NotNull
                                  @NotNull ITransaction transaction)
      • ProfilingTraceData

        public ProfilingTraceData​(@NotNull
                                  @NotNull java.io.File traceFile,
                                  @NotNull
                                  @NotNull ITransaction transaction,
                                  @NotNull
                                  @NotNull java.lang.String durationNanos,
                                  int sdkInt,
                                  @NotNull
                                  @NotNull java.util.concurrent.Callable<java.util.List<java.lang.Integer>> deviceCpuFrequenciesReader,
                                  @Nullable
                                  @Nullable java.lang.String deviceManufacturer,
                                  @Nullable
                                  @Nullable java.lang.String deviceModel,
                                  @Nullable
                                  @Nullable java.lang.String deviceOsVersion,
                                  @Nullable
                                  @Nullable java.lang.Boolean deviceIsEmulator,
                                  @Nullable
                                  @Nullable java.lang.String devicePhysicalMemoryBytes,
                                  @Nullable
                                  @Nullable java.lang.String buildId,
                                  @Nullable
                                  @Nullable java.lang.String versionName,
                                  @Nullable
                                  @Nullable java.lang.String versionCode,
                                  @Nullable
                                  @Nullable java.lang.String environment)
    • Method Detail

      • getTraceFile

        @NotNull
        public @NotNull java.io.File getTraceFile()
      • getAndroidApiLevel

        public int getAndroidApiLevel()
      • getDeviceLocale

        @NotNull
        public @NotNull java.lang.String getDeviceLocale()
      • getDeviceManufacturer

        @NotNull
        public @NotNull java.lang.String getDeviceManufacturer()
      • getDeviceModel

        @NotNull
        public @NotNull java.lang.String getDeviceModel()
      • getDeviceOsBuildNumber

        @NotNull
        public @NotNull java.lang.String getDeviceOsBuildNumber()
      • getDeviceOsName

        @NotNull
        public @NotNull java.lang.String getDeviceOsName()
      • getDeviceOsVersion

        @NotNull
        public @NotNull java.lang.String getDeviceOsVersion()
      • isDeviceIsEmulator

        public boolean isDeviceIsEmulator()
      • getPlatform

        @NotNull
        public @NotNull java.lang.String getPlatform()
      • getBuildId

        @NotNull
        public @NotNull java.lang.String getBuildId()
      • getTransactionName

        @NotNull
        public @NotNull java.lang.String getTransactionName()
      • getVersionName

        @NotNull
        public @NotNull java.lang.String getVersionName()
      • getVersionCode

        @NotNull
        public @NotNull java.lang.String getVersionCode()
      • getTransactionId

        @NotNull
        public @NotNull java.lang.String getTransactionId()
      • getTraceId

        @NotNull
        public @NotNull java.lang.String getTraceId()
      • getProfileId

        @NotNull
        public @NotNull java.lang.String getProfileId()
      • getEnvironment

        @NotNull
        public @NotNull java.lang.String getEnvironment()
      • getSampledProfile

        @Nullable
        public @Nullable java.lang.String getSampledProfile()
      • getDurationNs

        @NotNull
        public @NotNull java.lang.String getDurationNs()
      • getDeviceCpuFrequencies

        @NotNull
        public @NotNull java.util.List<java.lang.Integer> getDeviceCpuFrequencies()
      • getDevicePhysicalMemoryBytes

        @NotNull
        public @NotNull java.lang.String getDevicePhysicalMemoryBytes()
      • setAndroidApiLevel

        public void setAndroidApiLevel​(int androidApiLevel)
      • setDeviceLocale

        public void setDeviceLocale​(@NotNull
                                    @NotNull java.lang.String deviceLocale)
      • setDeviceManufacturer

        public void setDeviceManufacturer​(@NotNull
                                          @NotNull java.lang.String deviceManufacturer)
      • setDeviceModel

        public void setDeviceModel​(@NotNull
                                   @NotNull java.lang.String deviceModel)
      • setDeviceOsBuildNumber

        public void setDeviceOsBuildNumber​(@NotNull
                                           @NotNull java.lang.String deviceOsBuildNumber)
      • setDeviceOsVersion

        public void setDeviceOsVersion​(@NotNull
                                       @NotNull java.lang.String deviceOsVersion)
      • setDeviceIsEmulator

        public void setDeviceIsEmulator​(boolean deviceIsEmulator)
      • setDeviceCpuFrequencies

        public void setDeviceCpuFrequencies​(@NotNull
                                            @NotNull java.util.List<java.lang.Integer> deviceCpuFrequencies)
      • setDevicePhysicalMemoryBytes

        public void setDevicePhysicalMemoryBytes​(@NotNull
                                                 @NotNull java.lang.String devicePhysicalMemoryBytes)
      • setBuildId

        public void setBuildId​(@NotNull
                               @NotNull java.lang.String buildId)
      • setTransactionName

        public void setTransactionName​(@NotNull
                                       @NotNull java.lang.String transactionName)
      • setDurationNs

        public void setDurationNs​(@NotNull
                                  @NotNull java.lang.String durationNs)
      • setVersionName

        public void setVersionName​(@NotNull
                                   @NotNull java.lang.String versionName)
      • setVersionCode

        public void setVersionCode​(@NotNull
                                   @NotNull java.lang.String versionCode)
      • setTransactionId

        public void setTransactionId​(@NotNull
                                     @NotNull java.lang.String transactionId)
      • setTraceId

        public void setTraceId​(@NotNull
                               @NotNull java.lang.String traceId)
      • setProfileId

        public void setProfileId​(@NotNull
                                 @NotNull java.lang.String profileId)
      • setEnvironment

        public void setEnvironment​(@NotNull
                                   @NotNull java.lang.String environment)
      • setSampledProfile

        public void setSampledProfile​(@Nullable
                                      @Nullable java.lang.String sampledProfile)
      • readDeviceCpuFrequencies

        public void readDeviceCpuFrequencies()
      • getUnknown

        @Nullable
        public @Nullable java.util.Map<java.lang.String,​java.lang.Object> getUnknown()
        Specified by:
        getUnknown in interface JsonUnknown
      • setUnknown

        public void setUnknown​(@Nullable
                               @Nullable java.util.Map<java.lang.String,​java.lang.Object> unknown)
        Specified by:
        setUnknown in interface JsonUnknown