sourceType property

DataSourceType get sourceType

Returns the type of the current position data source.

The value indicates whether the SDK is using a live GPS, a playback (log/simulation) source, or a custom external source.

Returns

Implementation

static DataSourceType get sourceType {
  final OperationResult resultString = staticMethod(
    'PositionService',
    'getSourceType',
  );

  return DataSourceTypeExtension.fromId(resultString['result']);
}