setExternalDataSource static method

GemError setExternalDataSource(
  1. DataSource dataSource
)

Sets the current data source for obtaining position data.

Parameters

  • IN dataSource The data source to be used for fetching position data.

Returns

Implementation

static GemError setExternalDataSource(final DataSource dataSource) {
  final OperationResult resultString = staticMethod(
    'PositionService',
    'setExternalDataSource',
    args: dataSource.pointerId,
  );
  return GemErrorExtension.fromCode(resultString['gemApiError']);
}