loadAllFromPreferences(completionHandler:)
Loads all saved manager configurations asynchronously.
Declaration
class func loadAllFromPreferences(completionHandler: @escaping @Sendable ([NEAppPushManager]?, (any Error)?) -> Void)class func loadAllFromPreferences() async throws -> [NEAppPushManager]Parameters
- completionHandler:
A completion block that the framework calls after it loads the configurations. The
managersparameter contains an array of all managers that the framework loads from the persistent store. This array is empty if the framework didn’t load any configurations. If loading failed, theerrorparameter indicates the reason for the failure; otherwise, this parameter isnil.