status property

LocationDataSourceStatus status

The current status of the location data source.

The status indicates if the location data source is starting, started, stopping, stopped, and has failed to start.

Implementation

LocationDataSourceStatus get status {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_LocationDataSource_getStatus(
      _handle,
      errorHandler,
    );
  });
  return LocationDataSourceStatus._fromCoreValue(
    coreValue,
  );
}