deviceType
TypeScriptget deviceType(): stringSwift declarationlet deviceType: StringThe hardware identifier for the device.
struct · iOS 27.0+ · SDK 27.1
struct EnvironmentEnvironment context for metric reports.
get deviceType(): stringSwift declarationlet deviceType: StringThe hardware identifier for the device.
get regionFormat(): stringSwift declarationlet regionFormat: StringThe short country code for the region format setting of the device.
get isTestFlightApp(): booleanSwift declarationlet isTestFlightApp: BoolIndicates whether the app is registered with TestFlight.
get bundleIdentifier(): stringSwift declarationlet bundleIdentifier: StringString representation of the bundle ID of the process.
get lowPowerModeEnabled(): booleanSwift declarationlet lowPowerModeEnabled: BoolIndicates whether low power mode is enabled on the device.
get platformArchitecture(): stringSwift declarationlet platformArchitecture: StringThe name of the processor architecture for the device.
get hasExceededStateLimit(): booleanSwift declarationlet hasExceededStateLimit: BoolA Boolean indicating if the number of emitted states exceeded the aggregation limit. When `true`, some states may have been omitted from the report. Metrics associated with the omitted states will be included in the full day interval entry along with non-state-aggregated metrics.
get applicationBuildVersion(): stringSwift declarationlet applicationBuildVersion: StringThe value of the bundle version key in the app's property list.
get latestApplicationVersion(): stringSwift declarationlet latestApplicationVersion: StringThe version of the app on the device at the end of the reporting period.
get includesMultipleApplicationVersions(): booleanSwift declarationlet includesMultipleApplicationVersions: BoolA Boolean indicating if the version of the app changed at least once during the reporting period.
get osVersion(): OSVersionSwift declarationlet osVersion: OSVersionThe version of the OS on the device including the type of OS, version number, and build number.
No declarations were skipped in this snapshot.