4.5. SMSoundSetting
added in version 1.12.0
This class defines the sound settings.
Constant
Name
Contents
Volume constants
Property
Name
Contents
Sound storage area
Sound number
Volume
Playback count
Delay time (1 sec units)
Interval time (1 sec units)
4.5.1. SMSoundSettingVolume
added in version 1.12.0
Volume constants.
Warning
FVP10 is not supported.
Declaration
public enum SMSoundSettingVolume : Int { case off case min case max }
Constants
Constants
Contents
SMSoundSettingVolume.off
This constant indicates volume OFF.
SMSoundSettingVolume.min
This constant indicates volume is minimum.
SMSoundSettingVolume.max
This constant indicates volume is maximum.
The parameters which are set when used in the SMSoundSetting class method are the following.
Constants
Parameter
SMSoundSettingVolume.offSMSoundSettingVolume.minSMSoundSettingVolume.max0115
4.5.2. soundStorageArea
added in version 1.12.0
Sound storage area.
Declaration
open var soundStorageArea: SMCBSoundStorageArea
4.5.3. soundNumber
added in version 1.12.0
Sound number.
Declaration
open var soundNumber: Int
4.5.4. volume
added in version 1.12.0
Sound volume
Declaration
open var volume: Int
4.5.5. count
added in version 1.12.0
Number of times to play the sound.
Declaration
open var count: Int
4.5.6. delay
added in version 1.12.0
Delay time. (1 sec units)
Declaration
open var delay: Int
4.5.7. interval
added in version 1.12.0
Interval time. (1 sec units)
Declaration
open var interval: Int