getMediaAutoDownload static method

Future<bool?> getMediaAutoDownload()

Retrieves the media auto-download setting.

This static method asynchronously retrieves the current setting for media auto-download. It delegates the task to the FlyChatFlutterPlatform instance and returns a Future<bool?> representing the current state of media auto-download.

Returns:

  • true if media auto-download is enabled.
  • false if media auto-download is disabled.
  • null if the media auto-download setting cannot be retrieved or is not available.

Implementation

static Future<bool?> getMediaAutoDownload() async {
  return FlyChatFlutterPlatform.instance.getMediaAutoDownload();
}