mobileSoundChannels

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
mobileSoundChannels()
Synonymsiphonesoundchannels
Summary

Returns a list of the sound channels that currently exist.

Introduced4.6
OSios, android
Platformsmobile
Example
get mobileSoundChannels()
put mobileSoundChannels() into tSoundChannelList
Values
NameTypeDescription
return

The mobileSoundChannels function returns a list of the currently existing channel names, one per line.

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

Use the mobileSoundChannels function to get a list of the sound channels that currently exist.

Sound channels persist after any sounds have finished playing on them, retaining the last volume setting. To remove a channel from memory completely use the mobileDeleteSoundChannel command.

Sound channels only consume system resources when they are playing sounds, this means you don't need to be concerned about having many around at once (assuming most are inactive).