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

    isScanning

    True if the SDK is actively scanning for readers

    states

    Array of global SDK global errors or warnings