CoreInitCallback

public protocol CoreInitCallback : AnyObject

Listener for result of Core SDK initialization

  • Called when Core SDK has successfully initialized

    Declaration

    Swift

    func onSuccess()
  • Called when Core SDK has failed to initialize

    Declaration

    Swift

    func onFailure(errorCode: EnumSdkError)

    Parameters

    errorCode

    Error code

    errorMessage

    The message to describe error

  • Called when Core SDK has any status update

    Declaration

    Swift

    func onStatusUpdate(update: EnumSdkUpdate)

    Parameters

    update

    Enum for the status update

  • Called when any status messages are to be shown as an intermediate update

    Declaration

    Swift

    func onStatusMessage(messageType: StatusMessageType)

    Parameters

    messsageType

    Enum for the status message