getSessionHistorySize static method

Future<int?> getSessionHistorySize()

Returns the session history size.

Implementation

static Future<int?> getSessionHistorySize() async {
  try {
    await init();
    return _platform.ffmpegKitConfigGetSessionHistorySize();
  } on PlatformException catch (e, stack) {
    print("Plugin getSessionHistorySize error: ${e.message}");
    return Future.error("getSessionHistorySize failed.", stack);
  }
}