Skip to main content

mobileSoundChannelVolume

Type​

function

Summary​

Returns the current volume of the given channel.

Syntax​

mobileSoundChannelVolume(<channel>)

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.

Parameters​

NameTypeDescription

channel

The name of the channel.

Examples​

get mobileSoundChannelVolume(theChannel)
put mobileSoundChannelVolume("current") into tVolume

Value​

NameTypeDescription

return

integer

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

command: mobileDeleteSoundChannel, mobilePlaySoundOnChannel, mobileSetSoundChannelVolume, mobilePausePlayingOnChannel, mobileStopPlayingOnChannel, mobileResumePlayingOnChannel

function: mobileSoundOnChannel, mobileNextSoundOnChannel, mobileSoundChannels, mobileSoundChannelStatus

message: soundFinishedOnChannel

Compatibility and Support​

Introduced

LiveCode 4.6

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?