mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 17:26:18 +01:00
11 lines
321 B
Dart
11 lines
321 B
Dart
import 'package:nc_photos/account.dart';
|
|
import 'package:nc_photos/entity/file.dart';
|
|
|
|
abstract class Downloader {
|
|
/// Download file to device
|
|
///
|
|
/// The return data depends on the platform
|
|
/// - web: null
|
|
/// - android: Uri to the downloaded file
|
|
Future<dynamic> downloadFile(Account account, File file);
|
|
}
|