SdkStateDelegate
public protocol SdkStateDelegate : AnyObject
A delegate to describe when the SDK changes in some way. Use this channel to find global errors or warnings from the SDK
-
Function called when the SDK state changes
Declaration
Swift
func onStateChange(isScanning: Bool, states: [MobileAccessState])Parameters
isScanningTrue if the SDK is actively scanning for readers
statesArray of global SDK global errors or warnings
SdkStateDelegate Protocol Reference