mobileSoundChannelVolume

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
mobileSoundChannelVolume(<channel>)
Synonymsiphonesoundchannelvolume
Summary

Returns the current volume of the given channel.

Introduced4.6
OSios, android
Platformsmobile
Parameters
NameTypeDescription
channel

The name of the channel.

Example
get mobileSoundChannelVolume(theChannel)
put mobileSoundChannelVolume("current") into tVolume
Values
NameTypeDescription
return

The mobileSoundChannelVolume function returns an integer between 0 and 100 where 0 is no volume and 100 is full volume.

RelatedCommand: mobileDeleteSoundChannel, mobilePlaySoundOnChannel, mobileSetSoundChannelVolume, mobilePausePlayingOnChannel, mobileStopPlayingOnChannel, mobileResumePlayingOnChannel
Function: mobileSoundOnChannel, mobileNextSoundOnChannel, mobileSoundChannels, mobileSoundChannelStatus
Message: soundFinishedOnChannel
Description

Use the mobileSoundChannelVolume function to find the current volume of the given channel.

If you attempt to get the volume of a non-existent channel empty will be returned.