BMPUserInterfaceEventHandler

Objective-C

@protocol BMPUserInterfaceEventHandler <NSObject>

Swift

protocol UserInterfaceEventHandler : NSObjectProtocol

Handles adding and removing of event listeners.

  • Adds an event listener.

    Declaration

    Objective-C

    - (void)addUserInterfaceListener:(nonnull id<BMPUserInterfaceListener>)listener;

    Swift

    func add(listener: UserInterfaceListener)

    Parameters

    listener

    The event listener to be added.

  • Removes an event listener.

    Declaration

    Objective-C

    - (void)removeUserInterfaceListener:
        (nonnull id<BMPUserInterfaceListener>)listener;

    Swift

    func remove(listener: UserInterfaceListener)

    Parameters

    listener

    The event listener to be removed.