dataSourceType property

DataSourceType get dataSourceType

The data source type. It can be live or playback.

Returns

Will return DataSourceType.live if the data source is live or external, DataSourceType.playback if the data source is playback or simulate.

Throws

  • An exception if it fails

Implementation

DataSourceType get dataSourceType {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'DataSourceContainer',
    'getDataSourceType',
  );

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