Returns the current ringer mode of the device which can be “Normal”, “Vibrate” or “Silent”.
app.GetRingerMode() → String: “Normal” or “Vibrate” or “Silent”
See Also: SetRingerMode
Example - Show Current Ringer Mode
function OnStart()
{
var mode = app.GetRingerMode();
app.Alert( mode )
}
def OnStart():
mode = app.GetRingerMode()
app.Alert( mode )