isEncoderSupported method

Future<bool> isEncoderSupported(
  1. AudioEncoder encoder
)

Checks if the given encoder is supported on the current platform.

Implementation

Future<bool> isEncoderSupported(AudioEncoder encoder) async {
  _created ??= await _create();
  return RecordPlatform.instance.isEncoderSupported(_recorderId, encoder);
}