WebAPI/WebSTK: Difference between revisions

Line 753: Line 753:
// onUserConfirm is the callback when user confirms the call.
// onUserConfirm is the callback when user confirms the call.
function onUserConfirm(confirm) {
function onUserConfirm(confirm) {
   var response = new MozStkResponse(command);
   var response = new MozStkResponse(command.number, command.type, command.qualifier);
   response.resultCode = MozStkResponse.RESULT_OK;
   response.resultCode = MozStkResponse.RESULT_OK;
   response.confirmation = confirm;
   response.confirmation = confirm;
Confirmed users
266

edits