Audio interface

Audio controls and events.

Allows partners to provide platform-level audio controls.

WARNING: if the audio API is used, update must be called before calling GameSnacks.init.

Signature

interface Audio

Method signatures

Name Description
update(isEnabled) Sets whether the game sound should be played.