getEffectCurrentPosition abstract method
Gets the playback progress of the specified sound effect file.
This method must be called after playEffect.
soundIdThe ID of the sound effect. Each sound effect has a unique ID.
Returns If the method call succeeds, returns the playback progress of the specified sound effect file (milliseconds). < 0: The method call fails. See Error Codes for details and resolution suggestions.
Implementation
Future<int> getEffectCurrentPosition(int soundId);