Implement ringer mode setting.

This commit is contained in:
Valverde Antonio
2014-06-26 16:50:50 +09:00
parent 6182856cb2
commit 3f19064ede
9 changed files with 90 additions and 2 deletions

View File

@@ -222,6 +222,12 @@ module.exports = function ControlServiceFactory(
return sendTwoWay('account.remove')
}
this.setRingerMode = function(mode) {
return sendTwoWay('ringer.set', {
mode: mode
})
}
window.cc = this
}