initLocationDataSource

Initializes the location data source for the navigation engine. You can use isInit to check if engine is initialized with a LocationDataSource If the navigation engine is already initialized it'll call directly changeLocationDataSource

Return

an Error or null if no error occurred

Parameters

loc

the LocationDataSource that will be used by the navigation engine