getGeopositionHistoryWithDurationAsync static method
Implementation
static Future<List<Geoposition>> getGeopositionHistoryWithDurationAsync(
DateTime startTime, Duration duration) {
final activationFactoryPtr =
CreateActivationFactory(_className, IID_IGeolocatorStatics);
final object = IGeolocatorStatics.fromRawPointer(activationFactoryPtr);
try {
return object.getGeopositionHistoryWithDurationAsync(startTime, duration);
} finally {
object.release();
}
}