getVolumeOfEffect abstract method

Future<int> getVolumeOfEffect(
  1. int soundId
)

Gets the playback volume of the specified audio effect file.

  • soundId ID of the audio effect file.

Returns ≥ 0: The method call succeeds and returns the playback volume. The volume range is 0,100. 100 is the original volume. < 0: The method call fails. See Error Codes for details and resolution suggestions.

Implementation

Future<int> getVolumeOfEffect(int soundId);