CPAuthenticationDelegate

@objc
public protocol CPAuthenticationDelegate : NSObjectProtocol

Notifies when connection status or any relevant change is happened in Authentication.

Since

1.0.0
  • Will be called when connection status is changed

    Since

    1.0.0

    Declaration

    Swift

    @objc
    func connectionStatusChanged(state: CPConnectionState)

    Parameters

    state

    Current connection state

  • Will be called when channel information is replaced with the new one

    Since

    1.0.0

    Declaration

    Swift

    @objc
    func onChannelInfoChanged(_ channelInfo: String)