unloadResource abstract method

Future<void> unloadResource(
  1. int audioEffectID
)

Unload audio effect resource.

Available since: 1.16.0 Description: Unload the specified audio effect resource. When to call: After the sound effects are used up, related resources can be released through this function; otherwise, the SDK will release the loaded resources when the AudioEffectPlayer instance is destroyed. Restrictions: None. Related APIs: loadResource.

  • audioEffectID ID for the audio effect loaded.

Implementation

Future<void> unloadResource(int audioEffectID);