VisioMove SDK (Android)
2.1.22
|
Public Member Functions | |
VgINavigationListenerRefPtr () | |
VgINavigationListenerRefPtr (VgINavigationListener pPointer) | |
VgINavigationListenerRefPtr (VgINavigationListenerRefPtr pRefPtr) | |
VgINavigationListenerRefPtr | set (VgINavigationListener pPointer) |
VgINavigationListener | __ref__ () |
VgINavigationListener | __deref__ () |
VgINavigationListener | get () |
boolean | isValid () |
void | notifyPositionUpdated (VgINavigationConstRefPtr pNavigation, VgPosition pPosition, double pTime) |
void | notifyNewInstruction (VgINavigationConstRefPtr pNavigation, long pIndex) |
void | ref () |
int | unref () |
int | getNbReferences () |
Static Public Member Functions | |
static VgINavigationListenerRefPtr | getNull () |
The VgINavigationListener allow users to be notified of Navigation related events that occur within a VgINavigation Object where the listener has been registered.
VgINavigationListenerRefPtr.VgINavigationListenerRefPtr | ( | ) |
VgINavigationListenerRefPtr.VgINavigationListenerRefPtr | ( | VgINavigationListener | pPointer | ) |
VgINavigationListenerRefPtr.VgINavigationListenerRefPtr | ( | VgINavigationListenerRefPtr | pRefPtr | ) |
VgINavigationListener VgINavigationListenerRefPtr.__deref__ | ( | ) |
VgINavigationListener VgINavigationListenerRefPtr.__ref__ | ( | ) |
VgINavigationListener VgINavigationListenerRefPtr.get | ( | ) |
int VgINavigationListenerRefPtr.getNbReferences | ( | ) |
|
static |
boolean VgINavigationListenerRefPtr.isValid | ( | ) |
void VgINavigationListenerRefPtr.notifyNewInstruction | ( | VgINavigationConstRefPtr | pNavigation, |
long | pIndex | ||
) |
This method is called when a new position is close to a new segment on the navigation and when a new navigation instruction is more appropriate
pNavigation | The source of the event. |
pIndex | The index of the instruction. The index can be used to retrieve the instruction via the VgINavigation::getInstruction() method. |
void VgINavigationListenerRefPtr.notifyPositionUpdated | ( | VgINavigationConstRefPtr | pNavigation, |
VgPosition | pPosition, | ||
double | pTime | ||
) |
This method is called every time a position is injected into the VgINavigation object. The user may query the closest position to the route at this point.
pNavigation | The source of the event. |
pPosition | New position of the user |
pTime | Time corresponding to when the position was acquired. |
void VgINavigationListenerRefPtr.ref | ( | ) |
VgINavigationListenerRefPtr VgINavigationListenerRefPtr.set | ( | VgINavigationListener | pPointer | ) |
int VgINavigationListenerRefPtr.unref | ( | ) |