// constructor for mute related actions (mute on / off) public HubSDKAction(HubSDKActionType actionType, bool mutestate) { ActionType = actionType; this.callid = 0; this.contactname = ""; this.mutestate = mutestate; }
// 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; }