getMediaAutoDownload method
This method is used to get the media auto download settings.
Implementation
@override
Future<bool?> getMediaAutoDownload() async {
bool? val = false;
try {
val = await mirrorFlyMethodChannel
.invokeMethod<bool?>('getMediaAutoDownload');
LogMessage.d("getMediaAutoDownload", "$val");
return val;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}