Exemple #1
0
 // constructor for mute related actions (mute on / off)
 public HubSDKAction(HubSDKActionType actionType, bool mutestate)
 {
     ActionType       = actionType;
     this.callid      = 0;
     this.contactname = "";
     this.mutestate   = mutestate;
 }
Exemple #2
0
 // constructor for call related actions requiring callid and optionally contactname
 public HubSDKAction(HubSDKActionType actionType, int callid, string contactname = "")
 {
     ActionType       = actionType;
     this.callid      = callid;
     this.contactname = contactname;
     this.mutestate   = false;
 }