I need to get the time of phone pickup and time of usage after the pickup and drop.
DeviceActivityData.ActivitySegment -> a struct contains all these information.
Where and how can i access these information?
let v = DeviceActivityData.ActivitySegment().totalActivityDuration ERROR: 'DeviceActivityData.ActivitySegment' cannot be constructed because it has no accessible initializers
How do I initialise DeviceActivityData?