isSoundReady(key) → {boolean}
Check if the given sound is ready for playback.
A sound is considered ready when it has finished decoding and the device is no longer touch locked.
Parameters
Name | Type | Description |
---|---|---|
key | string | The key of the asset within the cache. |
Returns
boolean -
True if the sound is decoded and the device is not touch locked.
- Source code: loader/Cache.js (Line 761)
Please login to continue.