isPlaying method
The isPlaying function on HMSAudioFilePlayerNode to check if audio is playing or not. It will return bool
Implementation
Future<bool> isPlaying() async {
var result = await PlatformService.invokeMethod(
PlatformMethod.audioSharePlaying,
arguments: {"name": methodName});
if (result["success"]) {
return result["data"]["is_playing"];
}
return false;
}