getScanDocumentsUri method
Scans documents and returns URIs (Android only).
Returns null if the user cancelled.
Implementation
@override
Future<dynamic> getScanDocumentsUri(int page) async {
try {
return await methodChannel.invokeMethod<dynamic>(
'getScanDocumentsUri',
{'page': page},
);
} on PlatformException catch (e) {
throw DocScanException(
code: e.code,
message: e.message ?? 'Failed to scan document URIs',
details: e.details,
);
}
}