API Reference
Functions
Audio
deleteAsset

deleteAsset(assetId: string)

This is a function which is used to delete an asset.

Make sure you gave proper permissions in AndroidManifest.xml file of your app, inorder this function to work properly.

Fo more information about permissions, you can refer Getting started page.

Returns:

  • It will return true if the asset is deleted successfully along with a toast saying deleted.
  • It will fail with the error if any thing gone wrong.