Loading...
Searching...
No Matches
<NCSublocationChangeListener> Protocol Reference

Class is used to listen for sublocation change events. More...

#include <com/navigine/idl/objc/NCSublocationChangeListener.h>

Inherits <NSObject>.

Instance Methods

(void) - onActiveSublocationChanged:
 Called when active sublocation changes.
 

Detailed Description

Class is used to listen for sublocation change events.

Referenced from LocationWindow.

Definition at line 21 of file NCSublocationChangeListener.h.

Method Documentation

◆ onActiveSublocationChanged:

- (void) onActiveSublocationChanged: (int32_t) sublocationId

Called when active sublocation changes.

Parameters
sublocationIdNew active sublocation identifier.

Swift code snippet:

func onActiveSublocationChanged(_ sublocationId: Int32) {
print("Active sublocation changed to: \‍(sublocationId)")
}

Objective C code snippet:

- (void)onActiveSublocationChanged:(int32_t)sublocationId {
NSLog(@"Active sublocation changed to: %d", sublocationId);
}

The documentation for this protocol was generated from the following file: