Sound Controller
interface SoundController
Encapsulates playing 'bleep' sound and setting up/releasing corresponding resources. NOTE: Vibration feature requires android.permission.VIBRATE
permission. Add it to the AndroidManifest to use vibration.
Inheritors
Functions
Link copied to clipboard
Attempt to play sound and vibrate, if enabled.
Link copied to clipboard
Whether actual sound playing is enabled.
Link copied to clipboard
Set custom bleep
sound resource from app resources.
Link copied to clipboard
Set custom bleep
sound resource from file Uri.
Link copied to clipboard
Prepare SoundController for future sound or vibration playing.
Link copied to clipboard
Whether actual vibration is enabled. NOTE: Vibration feature requires android.permission.VIBRATE
permission. Add it to the AndroidManifest to use the vibration.