sourceType property
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
- A DataSourceType value representing the active source type.
Implementation
static DataSourceType get sourceType {
final OperationResult resultString = staticMethod(
'PositionService',
'getSourceType',
);
return DataSourceTypeExtension.fromId(resultString['result']);
}