4.5. SoundSetting
added in version 1.10.0
This class defines the sound settings.
Constants
Name
Contents
SoundSetting.VOLUME_OFF
This constant indicates volume OFF.
SoundSetting.VOLUME_MIN
This constant indicates volume minimum.
SoundSetting.VOLUME_MAX
This constant indicates volume is maximum.
Method
Name
Contents
Set sound storage area.
Get sound storage area.
Set sound number.
Get sound number.
Set volume.
Get volume.
Set number of times to play the sound.
Get number of times to play the sound.
Set delay time. (1 sec units)
Get delay time. (1 sec units)
Set interval time. (1 sec units)
Get interval time. (1 sec units)
4.5.1. Constants
added in version 1.10.0
Constants defined by the SoundSetting class.
Warning
FVP10 is not supported.
Declaration
static final int VOLUME_OFF; static final int VOLUME_MIN; static final int VOLUME_MAX;
Constants
Constants
Contents
SoundSetting.VOLUME_OFF
This constant indicates volume OFF.
SoundSetting.VOLUME_MIN
This constant indicates volume is minimum.
SoundSetting.VOLUME_MAX
This constant indicates volume is maximum.
The parameters which are set when used in the SoundSetting class method are the following.
Constants
Parameter
SoundSetting.VOLUME_OFFSoundSetting.VOLUME_MINSoundSetting.VOLUME_MAX0115
4.5.2. setSoundStorageArea
added in version 1.10.0
Set sound storage area.
Declaration
void setSoundStorageArea(SoundStorageArea soundStorageArea);
Parameter
Name
Contents
Type
soundStorageArea
Sound storage area
SoundStorageArea
Return value
None
4.5.3. getSoundStorageArea
added in version 1.10.0
Sound storage area.
Declaration
SoundStorageArea getSoundStorageArea();
Parameter
None
Return value
Contents
Type
Sound storage area
4.5.4. setSoundNumber
added in version 1.10.0
Set sound number.
Declaration
void setSoundNumber(int soundNumber);
Parameter
Name
Contents
Type
soundNumber
Sound number
int
Return value
None
4.5.5. getSoundNumber
added in version 1.10.0
Sound number.
Declaration
int getSoundNumber();
Parameter
None
Return value
Contents
Type
Sound number
int
4.5.6. setVolume
added in version 1.10.0
Set volume.
Declaration
void setVolume(int volume);
Parameter
Name
Contents
Type
volume
Volume
int
Return value
None
4.5.7. getVolume
added in version 1.10.0
Sound volume
Declaration
int getVolume();
Parameter
None
Return value
Contents
Type
Volume
int
4.5.8. setCount
added in version 1.10.0
Set number of times to play the sound.
Declaration
void setCount(int count);
Parameter
Name
Contents
Type
count
Number of times to play the sound
int
Return value
None
4.5.9. getCount
added in version 1.10.0
Number of times to play the sound.
Declaration
int getCount();
Parameter
None
Return value
Contents
Type
Number of times to play the sound
int
4.5.10. setDelay
added in version 1.10.0
Set delay time. (1 sec units)
Declaration
void setDelay(int delay);
Parameter
Name
Contents
Type
delay
Delay time (1 sec units)
int
Return value
None
4.5.11. getDelay
added in version 1.10.0
Delay time. (1 sec units)
Declaration
int getDelay();
Parameter
None
Return value
Contents
Type
Delay time (1 sec units)
int
4.5.12. setInterval
added in version 1.10.0
Set interval time. (1 sec units)
Declaration
void setInterval(int interval);
Parameter
Name
Contents
Type
interval
Interval time (1 sec units)
int
Return value
None
4.5.13. getInterval
added in version 1.10.0
Interval time. (1 sec units)
Declaration
int getInterval();
Parameter
None
Return value
Contents
Type
Interval time (1 sec units)
int