mobileSoundOnChannel

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
mobileSoundOnChannel(<channel>)
Synonymsiphonesoundonchannel
Summary

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

Introduced4.6
OSios, android
Platformsmobile
Parameters
NameTypeDescription
channel

The name of the channel.

Example
get mobileSoundOnChannel(theChannel)
put mobileSoundOnChannel("current") into tCurrentSound
Values
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.

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

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