VisioMove SDK (Android)  2.1.22
 All Classes Functions Variables Pages
VgINavigationListenerRefPtr Class Reference

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 ()

Detailed Description

The VgINavigationListener allow users to be notified of Navigation related events that occur within a VgINavigation Object where the listener has been registered.

Constructor & Destructor Documentation

VgINavigationListenerRefPtr.VgINavigationListenerRefPtr ( )
VgINavigationListenerRefPtr.VgINavigationListenerRefPtr ( VgINavigationListener  pPointer)
VgINavigationListenerRefPtr.VgINavigationListenerRefPtr ( VgINavigationListenerRefPtr  pRefPtr)

Member Function Documentation

VgINavigationListener VgINavigationListenerRefPtr.__deref__ ( )
VgINavigationListener VgINavigationListenerRefPtr.__ref__ ( )
VgINavigationListener VgINavigationListenerRefPtr.get ( )
int VgINavigationListenerRefPtr.getNbReferences ( )
static VgINavigationListenerRefPtr VgINavigationListenerRefPtr.getNull ( )
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

pNavigationThe source of the event.
pIndexThe 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.

pNavigationThe source of the event.
pPositionNew position of the user
pTimeTime corresponding to when the position was acquired.
void VgINavigationListenerRefPtr.ref ( )
VgINavigationListenerRefPtr VgINavigationListenerRefPtr.set ( VgINavigationListener  pPointer)
int VgINavigationListenerRefPtr.unref ( )

The documentation for this class was generated from the following file:
VisioMove 2.1.22, Visioglobe® 2016