getGeopositionHistoryAsync static method

Future<List<Geoposition>> getGeopositionHistoryAsync(
  1. DateTime startTime
)

Implementation

static Future<List<Geoposition>> getGeopositionHistoryAsync(
    DateTime startTime) {
  final activationFactoryPtr =
      CreateActivationFactory(_className, IID_IGeolocatorStatics);
  final object = IGeolocatorStatics.fromRawPointer(activationFactoryPtr);

  try {
    return object.getGeopositionHistoryAsync(startTime);
  } finally {
    object.release();
  }
}