name
TypeScriptget name(): (string) | nullSwift declarationvar name: String?The name of the device set by the user.
struct · iOS 16.0+ · SDK 27.1
struct DeviceA device for which to report activity data.
get name(): (string) | nullSwift declarationvar name: String?The name of the device set by the user.
set name(value: (string) | null)Swift declarationvar name: String?The name of the device set by the user.
get model(): DeviceActivityData_Device_ModelSwift declarationvar model: DeviceActivityData.Device.ModelThe model of the device.
set model(value: DeviceActivityData_Device_Model)Swift declarationvar model: DeviceActivityData.Device.ModelThe model of the device.
No declarations were skipped in this snapshot.