deviceType
TypeScriptget deviceType(): stringSwift declarationlet deviceType: StringThe hardware identifier for the device.
struct · iOS 27.0+ · SDK 27.1
struct EnvironmentEnvironment context for diagnostic 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 signpostData(): Array<SignpostRecord>Swift declarationlet signpostData: [SignpostRecord]Signpost data associated with the diagnostic.
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 applicationVersion(): stringSwift declarationlet applicationVersion: StringThe value of the bundle version key, short form, in the app's property list.
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 applicationBuildVersion(): stringSwift declarationlet applicationBuildVersion: StringThe value of the bundle version key in the app's property list.
get pid(): (SDKHandle) | nullSwift declarationlet pid: pid_t?The process ID (PID) of the process.
get states(): Array<MetricManager_ReportedState>Swift declarationlet states: [MetricManager.ReportedState]All states that were active leading up to this diagnostic event. This array contains all the StateReporting states that occurred before the diagnostic event. The array may be empty if no StateReporting context was active.
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.