Languages

Menu
Sites
Language
How can I make MUTE status?
hello I made a service program for project (native app) , but... How can I make MUTE Status? I want to control system volume, Ringtone, and Notification for MUTE Mode....
View Selected Answer

Responses

4 Replies
Alex Dem

Hi,
Try to use SettingInfo::GetValue method to get some keys which are listed here:
https://developer.tizen.org/dev-guide/2.2.1/org.tizen.native.appprogramming/html/guide/system/settings_info.htm
There are ringtone/notification volume or 'silent mode' keys are presented in list.
Alexey.

규민 고
thanks ;-)
Mark as answer
Alex Ashirov

Hi,

You can try to use

Tizen::System::SettingInfo::GetValue()

method with the following  strings as a first parameter to control volume:

“http://tizen.org/setting/sound.silent_mode”

“http://tizen.org/setting/sound.notification.volume”

“http://tizen.org/setting/sound.system.volume”

“http://tizen.org/setting/sound.ringtone.volume”

규민 고

i used this method -> SettingInfo::SetValue("http://tizen.org/setting/sound.notification.volume",0);

 

thank you!