UserStateChangeListener
public protocol UserStateChangeListener: AnyObject
The listener of changes into the Login State of a user.
-
Login state change callback It is invoked whenever a login or a logout occurs, along with an error if something went wrong
Declaration
Swift
func onLoginStateChange(error: NWError?) -> Void
Parameters
error
if present it states that the login change listening has failed
Return Value
nothing