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
Name | Type | Description |
---|---|---|
channel | The name of the channel. |
Examples
get mobileSoundOnChannel(theChannel)
put mobileSoundOnChannel("current") into tCurrentSound
Value
Name | Type | Description |
---|---|---|
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. |
Related
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