Skip to main content

mobileSoundOnChannel

Type​

function

Summary​

Returns the sound that is currently playing (if any) on the given channel.

Syntax​

mobileSoundOnChannel(<channel>)

Description​

Use the mobileSoundOnChannel function to find what sound (if any) is playing on the current channel.

Parameters​

NameTypeDescription

channel

The name of the channel.

Examples​

get mobileSoundOnChannel(theChannel)
put mobileSoundOnChannel("current") into tCurrentSound

Value​

NameTypeDescription

return

The mobileSoundOnChannel function returns the name of the sound file that is currently playing on the given channel. If no sound is playing or the channel doesn't exit then empty is returned.

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

function: mobileSoundChannelVolume, 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?