saveMediaSettings method
dynamic
saveMediaSettings()
override
Implementation
@override
saveMediaSettings(bool photos, bool videos, bool audio, bool documents,
int networkType) async {
try {
await mirrorFlyMethodChannel.invokeMethod('saveMediaSettings', {
'Photos': photos,
'Videos': videos,
'Audio': audio,
'Documents': documents,
'NetworkType': networkType
});
} on PlatformException catch (e) {
debugPrint("Platform Exception ===> $e");
rethrow;
} on Exception catch (error) {
debugPrint("Exception ==> $error");
rethrow;
}
}