4.5. SMSoundSetting

added in version 1.12.0

This class defines the sound settings.

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.off
    SMSoundSettingVolume.min
    SMSoundSettingVolume.max
    0
    1
    15

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