Home > @magiclane/maps-sdk > NavigationService > getDataSource

NavigationService.getDataSource() method

Get the navigation data source for a navigation session.

Signature:

static getDataSource(navigationListener: any): any;

Parameters

Parameter

Type

Description

navigationListener

any

Navigation listener used to identify the navigation session.

Returns:

any

DataSource object for the navigation session

Exceptions

An exception if it fails.