Sets the volume of a sound channel.
# Metadata
Platforms: mobile OS: ios, android Introduced: 4.6 Security:
# Syntax
mobileSetSoundChannelVolume channel, volume
# Params
- channel : The name of the channel. - volume : An integer between 1 and 100 where 0 is no volume and 100 is full volume.
# Examples
mobileSetSoundChannelVolume theChannel, theVolume
mobileSetSoundChannelVolume "current", 50
# Description
Use the mobileSetSoundChannelVolume command to control the volume of the given channel.
Changing the volume of a channel affects the currently playing sound and any sounds played subsequently on the channel.
Setting the volume of a non-existent channel results in it being created. This allows the volume to be set before any sounds are played.
# Tags
# See
- **command:** mobileDeleteSoundChannel, mobilePlaySoundOnChannel, mobilePausePlayingOnChannel, mobileStopPlayingOnChannel, mobileResumePlayingOnChannel - **function:** mobileSoundChannelVolume, mobileSoundOnChannel, mobileNextSoundOnChannel, mobileSoundChannels, mobileSoundChannelStatus - **message:** soundFinishedOnChannel