Type Definitions
The following type definitions are available globally.
-
Target availability: iOS apps, iOS app extensions, watchOS apps, watchOS app extensions.
The block used by the
APLAddConfigurationUpdatedBlock()
function. If the notification was generated by an action being executed thennotification.userInfo[APLConfigurationUpdatedAction]
will be aNSString*
of the action name. If the notification was generated by configuration being updated or reset, thennotification.userInfo
will benil
.Declaration
Objective-C
typedef void (^APLConfigurationUpdatedBlock)(NSNotification *_Nullable)
Swift
typealias APLConfigurationUpdatedBlock = (Notification?) -> Void