Contents

device(_:didReceiveStatusInformation:)

Tells the delegate when status information is received from a device.

Declaration

optional func device(_ device: ICDevice, didReceiveStatusInformation status: [ICDeviceStatus : Any])

Discussion

The ‘status’ dictionary contains two keys, ICStatusNotificationKey and ICLocalizedStatusNotificationKey, which are defined above.  Status information keys are located in their respective ICDevice type class header.

Execution of the delegate callback occurs on the main thread.

See Also

Responding to Device Events