releaseMediaProjection static method

Future<bool> releaseMediaProjection()

Implementation

static Future<bool> releaseMediaProjection() async {
  try {
    final result = await _channel.invokeMethod('releaseMediaProjection');
    return result as bool;
  } catch (e) {
    return false;
  }
}