public OnParticipantConvoIdArgs(SktParticipant sender, SktConversation newValue)
 {
     this.sender = sender;  value = newValue;
 }
 internal void FireOnParticipantRequestedRank(SktParticipant sender, SktParticipant.RANK value)
 {
     if (OnParticipantRequestedRank == null) return; // Event not assigned
     OnParticipantRequestedRankArgs args = new OnParticipantRequestedRankArgs(sender, value);
     if (gui == null) { FireCallbackInSeparateThread(args, OnParticipantRequestedRankInNewThread); return; } // No gui firing in separate thread
     gui.BeginInvoke(OnParticipantRequestedRank, new object[] { sender, args }); // Syncing to GUI thread
 }
 internal void FireOnParticipantTransferredTo(SktParticipant sender, String value)
 {
     if (OnParticipantTransferredTo == null) return; // Event not assigned
     OnParticipantTransferredToArgs args = new OnParticipantTransferredToArgs(sender, value);
     if (gui == null) { FireCallbackInSeparateThread(args, OnParticipantTransferredToInNewThread); return; } // No gui firing in separate thread
     gui.BeginInvoke(OnParticipantTransferredTo, new object[] { sender, args }); // Syncing to GUI thread
 }
 internal void FireOnParticipantLastLeavereason(SktParticipant sender, SktSkype.LEAVE_REASON value)
 {
     if (OnParticipantLastLeavereason == null) return; // Event not assigned
     OnParticipantLastLeavereasonArgs args = new OnParticipantLastLeavereasonArgs(sender, value);
     if (gui == null) { FireCallbackInSeparateThread(args, OnParticipantLastLeavereasonInNewThread); return; } // No gui firing in separate thread
     gui.BeginInvoke(OnParticipantLastLeavereason, new object[] { sender, args }); // Syncing to GUI thread
 }
 internal void FireOnParticipantLiveStartTimestamp(SktParticipant sender, DateTime value)
 {
     if (OnParticipantLiveStartTimestamp == null) return; // Event not assigned
     OnParticipantLiveStartTimestampArgs args = new OnParticipantLiveStartTimestampArgs(sender, value);
     if (gui == null) { FireCallbackInSeparateThread(args, OnParticipantLiveStartTimestampInNewThread); return; } // No gui firing in separate thread
     gui.BeginInvoke(OnParticipantLiveStartTimestamp, new object[] { sender, args }); // Syncing to GUI thread
 }
 public void Add(SktParticipant item)
 {
     base.Add((SktParticipant)item);
 }
 /**  Sets local user typing indicator in the Conversation. Remote Participants can display these in their
   UI.
 @param [in] status - Typing indicator status value - SktParticipant.TEXT_STATUS
  */
 public void SetMyTextStatusTo(SktParticipant.TEXT_STATUS status)
 {
     if (skypeRef.logging) skypeRef.Log("Executing Conversation.SetMyTextStatusTo");
     uint RequestId = skypeRef.encoder.AddMethodHeader(ClassId, 18, OID);
     skypeRef.encoder.AddEnumParam(1, (uint)status);
     skypeRef.transport.SubmitMethodRequest (RequestId);
     skypeRef.decoder.DecodeMethodResponseWithNoArguments("SktConversation.SetMyTextStatusTo");
 }
 public OnParticipantLiveStartTimestampArgs(SktParticipant sender, DateTime newValue)
 {
     this.sender = sender;  value = newValue;
 }
 public OnParticipantLiveTypeArgs(SktParticipant sender, SktSkype.IDENTITYTYPE newValue)
 {
     this.sender = sender;  value = newValue;
 }
 public OnParticipantLiveIdentityArgs(SktParticipant sender, String newValue)
 {
     this.sender = sender;  value = newValue;
 }
 public OnParticipantLivePriceForMeArgs(SktParticipant sender, String newValue)
 {
     this.sender = sender;  value = newValue;
 }
 public OnParticipantLastVoiceErrorArgs(SktParticipant sender, String newValue)
 {
     this.sender = sender;  value = newValue;
 }
 public OnParticipantLastLeavereasonArgs(SktParticipant sender, SktSkype.LEAVE_REASON newValue)
 {
     this.sender = sender;  value = newValue;
 }
 public OnParticipantDebuginfoArgs(SktParticipant sender, String newValue)
 {
     this.sender = sender;  value = newValue;
 }
 /* SktParticipant class methods */
 /**  Checks whether the current user can set this Participant's conversation privileges to the specified RANK.
   This enables you to gray out or disable in your UI all the unavailable options for SktParticipant.SetRankTo
   method.
 @returns result Returns true if local user can set participant's rank to the value given in rank argument.
 @param [in] rank - SktParticipant.RANK value to check for.
  */
 public Boolean CanSetRankTo(SktParticipant.RANK rank)
 {
     if (skypeRef.logging) skypeRef.Log("Executing Participant.CanSetRankTo");
     uint RequestId = skypeRef.encoder.AddMethodHeader(ClassId, 1, OID);
     skypeRef.encoder.AddEnumParam(1, (uint)rank);
     skypeRef.transport.SubmitMethodRequest (RequestId);
     Dictionary<uint, uint> tagMap = new Dictionary<uint, uint> { {1, 1} };
     object[] args = new object[1];
     args[0] = false;
     skypeRef.decoder.DecodeMethodResponseArguments(1, ref args, new uint[1]{0}, ref tagMap, "SktParticipant.CanSetRankTo");
     return (Boolean)args[0];
 }
 public OnParticipantQualityProblemsArgs(SktParticipant sender, String newValue)
 {
     this.sender = sender;  value = newValue;
 }
 /**  Sets Participant's conversation privileges to the given RANK
 @param [in] rank - Target SktParticipant.RANK value.
  */
 public void SetRankTo(SktParticipant.RANK rank)
 {
     if (skypeRef.logging) skypeRef.Log("Executing Participant.SetRankTo");
     uint RequestId = skypeRef.encoder.AddMethodHeader(ClassId, 2, OID);
     skypeRef.encoder.AddEnumParam(1, (uint)rank);
     skypeRef.transport.SubmitMethodRequest (RequestId);
     skypeRef.decoder.DecodeMethodResponseWithNoArguments("SktParticipant.SetRankTo");
 }
 public OnParticipantRequestedRankArgs(SktParticipant sender, SktParticipant.RANK newValue)
 {
     this.sender = sender;  value = newValue;
 }
 /**  Sends DTMF tone to a live conversation.
 @param [in] dtmf - Outgoing dtmf tone, possible values come from SktParticipant.DTMF enumerator.
 @param [in] lengthInMS - Duration in milliseconds. Defaults to 260 ms. Note that the DTMF tone can be also cancelled with SktConversation.StopSendDTMF
   method. Default value is 260
  */
 public void SendDTMF(SktParticipant.DTMF dtmf, uint lengthInMS=260)
 {
     if (skypeRef.logging) skypeRef.Log("Executing Conversation.SendDTMF");
     uint RequestId = skypeRef.encoder.AddMethodHeader(ClassId, 16, OID);
     skypeRef.encoder.AddEnumParam(1, (uint)dtmf);
     skypeRef.encoder.AddUintParam(2, lengthInMS);
     skypeRef.transport.SubmitMethodRequest (RequestId);
     skypeRef.decoder.DecodeMethodResponseWithNoArguments("SktConversation.SendDTMF");
 }
 public OnParticipantSoundLevelArgs(SktParticipant sender, uint newValue)
 {
     this.sender = sender;  value = newValue;
 }
 internal void FireOnParticipantIncomingDTMF(SktParticipant sender, OnParticipantIncomingDTMFArgs e)
 {
     if (OnParticipantIncomingDTMF == null) return; // No event assigned
     if (gui == null) { FireCallbackInSeparateThread(e, OnParticipantIncomingDTMFInNewThread); return; }
     gui.BeginInvoke(OnParticipantIncomingDTMF, new object[] { sender, e }); // Synchronizing to gui thread
 }
 public OnParticipantTextStatusArgs(SktParticipant sender, SktParticipant.TEXT_STATUS newValue)
 {
     this.sender = sender;  value = newValue;
 }
 internal void FireOnParticipantLiveSessionVideosChanged(SktParticipant sender, OnParticipantLiveSessionVideosChangedArgs e)
 {
     if (OnParticipantLiveSessionVideosChanged == null) return; // No event assigned
     if (gui == null) { FireCallbackInSeparateThread(e, OnParticipantLiveSessionVideosChangedInNewThread); return; }
     gui.BeginInvoke(OnParticipantLiveSessionVideosChanged, new object[] { sender, e }); // Synchronizing to gui thread
 }
 public OnParticipantTransferredToArgs(SktParticipant sender, String newValue)
 {
     this.sender = sender;  value = newValue;
 }
 internal void FireOnParticipantLiveType(SktParticipant sender, SktSkype.IDENTITYTYPE value)
 {
     if (OnParticipantLiveType == null) return; // Event not assigned
     OnParticipantLiveTypeArgs args = new OnParticipantLiveTypeArgs(sender, value);
     if (gui == null) { FireCallbackInSeparateThread(args, OnParticipantLiveTypeInNewThread); return; } // No gui firing in separate thread
     gui.BeginInvoke(OnParticipantLiveType, new object[] { sender, args }); // Syncing to GUI thread
 }
 public OnParticipantVideoStatusArgs(SktParticipant sender, SktParticipant.VIDEO_STATUS newValue)
 {
     this.sender = sender;  value = newValue;
 }
 internal void FireOnParticipantSoundLevel(SktParticipant sender, uint value)
 {
     if (OnParticipantSoundLevel == null) return; // Event not assigned
     OnParticipantSoundLevelArgs args = new OnParticipantSoundLevelArgs(sender, value);
     if (gui == null) { FireCallbackInSeparateThread(args, OnParticipantSoundLevelInNewThread); return; } // No gui firing in separate thread
     gui.BeginInvoke(OnParticipantSoundLevel, new object[] { sender, args }); // Syncing to GUI thread
 }
 public OnParticipantVoiceStatusArgs(SktParticipant sender, SktParticipant.VOICE_STATUS newValue)
 {
     this.sender = sender;  value = newValue;
 }
 internal void FireOnParticipantVoiceStatus(SktParticipant sender, SktParticipant.VOICE_STATUS value)
 {
     if (OnParticipantVoiceStatus == null) return; // Event not assigned
     OnParticipantVoiceStatusArgs args = new OnParticipantVoiceStatusArgs(sender, value);
     if (gui == null) { FireCallbackInSeparateThread(args, OnParticipantVoiceStatusInNewThread); return; } // No gui firing in separate thread
     gui.BeginInvoke(OnParticipantVoiceStatus, new object[] { sender, args }); // Syncing to GUI thread
 }
 public OnParticipantAdderArgs(SktParticipant sender, String newValue)
 {
     this.sender = sender;  value = newValue;
 }