BackgroundRestorer
public protocol BackgroundRestorer : UIApplicationDelegate
Protocols for handling the results of a background restoration.
Important
The delegate must be anUIApplicationDelegate
in order to properly support background restoration during didFinishLaunchingWithOptions
.
-
Bluejay was able to restore a connection.
Declaration
Swift
func didRestoreConnection(to peripheral: PeripheralIdentifier) -> BackgroundRestoreCompletion
-
Bluejay failed to restore a connection.
Declaration
Swift
func didFailToRestoreConnection(to peripheral: PeripheralIdentifier, error: Error) -> BackgroundRestoreCompletion