NTVectorElementEventListener


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

Listener for vector element events like clicks etc.

  • Listener method that gets called when a click is performed on a vector element. If there are multiple vector elements that are located at the click position, then the results will be sorted by their distance to the camera. The closest element will be called first. If the method returns true, all subsequent elements are ignored. Otherwise the method is called on the next element and so on. This method will NOT be called from the main thread.

    Declaration

    Objective-C

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

    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. If there are multiple vector elements that are located at the click position, then the results will be sorted by their distance to the camera. The closest element will be called first. If the method returns true, all subsequent elements are ignored. Otherwise the method is called on the next element and so on. This method will NOT be called from the main thread.

    Declaration

    Objective-C

    - (BOOL)onVectorElementClickedSwigExplicitNTVectorElementEventListener:
        (NTVectorElementClickInfo *)clickInfo;

    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;
  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;