Class is used for managing async route listeners. More...
#include <com/navigine/idl/objc/NCRouteSession.h>
Inherits NSObject.
Instance Methods | |
| (void) | - addRouteListener: |
| Method is used to add AsyncRouteListener class element which will notify async route events. | |
| (void) | - removeRouteListener: |
| Method is used for removing previously added AsyncRouteListener class element. | |
Properties | |
| BOOL | valid |
Class is used for managing async route listeners.
Referenced from AsyncRouteManager.
Definition at line 18 of file NCRouteSession.h.
| - (void) addRouteListener: | (nullable id< NCAsyncRouteListener >) | listener |
Method is used to add AsyncRouteListener class element which will notify async route events.
| listener | Corresponding AsyncRouteListener class. |
Swift code snippet:
Objective C code snippet:
| - (void) removeRouteListener: | (nullable id< NCAsyncRouteListener >) | listener |
Method is used for removing previously added AsyncRouteListener class element.
| listener | Corresponding AsyncRouteListener class to remove. |
Swift code snippet:
Objective C code snippet:
|
readnonatomicassign |
Tells if this object is valid or not. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now.
Definition at line 60 of file NCRouteSession.h.