Contents

ProcessInfo.ThermalStateDidChangeMessage

A message the system sends when the device’s thermal state changes.

Declaration

struct ThermalStateDidChangeMessage

Overview

To observe this message, access the thermalState property prior to adding your observer.

Observe this message with the identifier thermalStateDidChange, or specify its type directly to the addObserver(of:for:using:) method. The Subject of this message type is ProcessInfo.

This message interoperates with the notification thermalStateDidChangeNotification. The system notifies observers of the message when the NotificationCenter posts the notification. Similarly, the system notifies observers of the notification when it posts the message.

Topics

Creating a message

See Also

Working with notification messsages