MSFCustomPopupHandler

Objective-C


@interface MSFCustomPopupHandler : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

Swift

class MSFCustomPopupHandler : NSObject

A handler class for custom popups. The handler is responsible for drawing the popup and reponding to click events.

  • Handler method that gets called when the popup needs to be drawn to a bitmap.

    Declaration

    Objective-C

    - (MSFBitmap *)onDrawPopup:(MSFPopupDrawInfo *)popupDrawInfo;

    Swift

    func onDrawPopup(_ popupDrawInfo: MSFPopupDrawInfo!) -> MSFBitmap!

    Parameters

    popupDrawInfo

    The information about the popup to be rendered.

    Return Value

    The drawn bitmap.

  • Handler method that gets called when the popup needs to be drawn to a bitmap.

    Declaration

    Objective-C

    - (MSFBitmap *)onDrawPopupSwigExplicitMSFCustomPopupHandler:
        (MSFPopupDrawInfo *)popupDrawInfo;

    Swift

    func onDrawPopupSwigExplicitMSFCustomPopupHandler(_ popupDrawInfo: MSFPopupDrawInfo!) -> MSFBitmap!

    Parameters

    popupDrawInfo

    The information about the popup to be rendered.

    Return Value

    The drawn bitmap.

  • Handler method that gets called when the popup is clicked

    Declaration

    Objective-C

    - (BOOL)onPopupClicked:(MSFPopupClickInfo *)popupClickInfo;

    Swift

    func onPopupClicked(_ popupClickInfo: MSFPopupClickInfo!) -> Bool

    Parameters

    popupClickInfo

    The information about the popup click event.

    Return Value

    True if the click was handled. False otherwise.

  • Handler method that gets called when the popup is clicked

    Declaration

    Objective-C

    - (BOOL)onPopupClickedSwigExplicitMSFCustomPopupHandler:
        (MSFPopupClickInfo *)popupClickInfo;

    Swift

    func onPopupClickedSwigExplicitMSFCustomPopupHandler(_ popupClickInfo: MSFPopupClickInfo!) -> Bool

    Parameters

    popupClickInfo

    The information about the popup click event.

    Return Value

    True if the click was handled. False otherwise.

  • Undocumented

    Declaration

    Objective-C

    -(id)init;

    Swift

    init!()
  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()