UserInterfaceEventHandler

@objc(BMPUserInterfaceEventHandler)
public protocol UserInterfaceEventHandler : NSObjectProtocol

Handles adding and removing of event listeners.

  • Adds an event listener.

    Declaration

    Swift

    @objc(addUserInterfaceListener:)
    func add(listener: UserInterfaceListener)

    Parameters

    listener

    The event listener to be added.

  • Removes an event listener.

    Declaration

    Swift

    @objc(removeUserInterfaceListener:)
    func remove(listener: UserInterfaceListener)

    Parameters

    listener

    The event listener to be removed.