MSFVectorElementEventListener

Objective-C


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

Swift

class MSFVectorElementEventListener : NSObject

Listener for vector element events like clicks etc.

  • Listener method that gets called when a click is performed on a vector element. Elements at the click position are called closest to the camera first; returning true stops there, false passes the click to the next one. This method will not be called from the main thread.

    Declaration

    Objective-C

    - (BOOL)onVectorElementClicked:(MSFVectorElementClickInfo *)clickInfo;

    Swift

    func onVectorElementClicked(_ clickInfo: MSFVectorElementClickInfo!) -> Bool

    Parameters

    clickInfo

    A container that provides information about the click.

    Return Value

    True if the click is handled and subsequent elements should not be handled. False if the next element should be called.

  • Listener method that gets called when a click is performed on a vector element. Elements at the click position are called closest to the camera first; returning true stops there, false passes the click to the next one. This method will not be called from the main thread.

    Declaration

    Objective-C

    - (BOOL)onVectorElementClickedSwigExplicitMSFVectorElementEventListener:
        (MSFVectorElementClickInfo *)clickInfo;

    Swift

    func onVectorElementClickedSwigExplicitMSFVectorElementEventListener(_ clickInfo: MSFVectorElementClickInfo!) -> Bool

    Parameters

    clickInfo

    A container that provides information about the click.

    Return Value

    True if the click is handled and subsequent elements should not be handled. False if the next element should be called.

  • Undocumented

    Declaration

    Objective-C

    -(id)init;

    Swift

    init!()
  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()