sessionInvalidated(error:)
Notifies the handler when its feature session ends.
Declaration
func sessionInvalidated(error: (any Error)?)Parameters
- error:
An optional error that indicates why the session ends. A
nilvalue indicates ordinary completion.
Discussion
Release your reference to the session when the system calls this method.