Adjacent Files

Initialize all of the settings / variables of the icon to their
preference values. If it’s the first init, this will also set up
the animated attributes; if not, it will simply update them to match
their ‘default’ values.

Parameter Name

Description

isFirstInit

Whether this is the first initialization of the icon (this method may be called externally to update values on a preference change without restarting Status’s entire service).

Called when a message is sent to the icon from an external
service. This is mainly used for the NotificationIconData, so
that the NotificationService can send it information without
calling a static method or holding a direct reference to it.