unloadOGG method

Future<void> unloadOGG(
  1. String path
)

Unloads a previously preloaded OGG file from the specified path.

Unloading an OGG file frees up resources used by the preloaded file. Later calls to playOGG for the same file may have higher latency.

path - The file path to the .ogg file. Can be an absolute path (starting with /) or a relative path (not starting with /) from the app's assets root.

Implementation

Future<void> unloadOGG(String path) {
  return HapticlabsPlayerPlatform.instance.unloadOGG(path);
}