InfoUI

public protocol InfoUI : ConnectUIElement

User interface to present information to the user.

Objects conforming to this protocol are vended by the ConnectUI instance.

  • Used to report user interface events back to the caller

    Declaration

    Swift

    var infoDelegate: InfoUIDelegate? { get set }
  • Creates a new info element.

    Declaration

    Swift

    static func create(title: String, message: String?, type: InfoType, cancellable: Bool) -> Self

    Parameters

    title

    The title to display in the info UI

    message

    An optional message to display in the info UI

    type

    The type of info being displayed. This determines the content and the layout of the screen.

    cancellable

    A flag indicating whether the user is allowed to cancel the info user interface.