getOutputMode method
Implementation
@override
Future<int?> getOutputMode() async {
if (!Platform.isAndroid) {
throw Exception('Available only for Android');
}
try {
final result = await methodChannel.invokeMethod<int>('getOutputMode');
return result;
} catch (e) {
throw Exception('[MethodChannelError] ${e.toString()}');
}
}