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
StarIoExtMelodySpeakerModelFVP10 is not supported.
Declaration
typedef NS_ENUM(NSInteger, SMSoundSettingVolume) { SMSoundSettingVolumeOff = -2, SMSoundSettingVolumeMin = -3, SMSoundSettingVolumeMax = -4 };
Constants
Constants
Contents
SMSoundSettingVolumeOff
This constant indicates volume OFF.
SMSoundSettingVolumeMin
This constant indicates volume is minimum.
SMSoundSettingVolumeMax
This constant indicates volume is maximum.
The parameters which are set when used in the SMSoundSetting class method are the following.
Constants
Parameter
SMSoundSettingVolumeOffSMSoundSettingVolumeMinSMSoundSettingVolumeMax0115
4.5.2. soundStorageArea
added in version 1.12.0
Sound storage area.
Declaration
@property (nonatomic) SMCBSoundStorageArea soundStorageArea;
4.5.3. soundNumber
added in version 1.12.0
Sound number.
Declaration
@property (nonatomic) NSInteger soundNumber;
4.5.4. volume
added in version 1.12.0
Sound volume
Declaration
@property (nonatomic) NSInteger volume;
4.5.5. count
added in version 1.12.0
Number of times to play the sound.
Declaration
@property (nonatomic) NSInteger count;
4.5.6. delay
added in version 1.12.0
Delay time. (1 sec units)
Declaration
@property (nonatomic) NSInteger delay;
4.5.7. interval
added in version 1.12.0
Interval time. (1 sec units)
Declaration
@property (nonatomic) NSInteger interval;