Instance Property

uuid

The universally unique identifier (UUID) for the HealthKit object that was deleted from the store.

Declaration

var uuid: UUID { get }

Discussion

Use this UUID to identify and remove the deleted objects from any copies of the HealthKit data that you have stored outside of HealthKit. For example, if you upload sample data to your server, use the deleted object’s UUID to find and remove it from your server.

See Also

Identifying Deleted Objects

var metadata: [String : Any]?

The metadata associated with the deleted object.