isHardwareDecode property

Future<bool> get isHardwareDecode

Check if the current playback is hardware-accelerated, it should be called after onPrepared.

Implementation

Future<bool> get isHardwareDecode async {
  return await engineInstanceMethodChannel.invokeMethod('getHardwareDecode');
}