コード例 #1
0
 public OnParticipantConvoIdArgs(SktParticipant sender, SktConversation newValue)
 {
     this.sender = sender;  value = newValue;
 }
コード例 #2
0
 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
 }
コード例 #3
0
 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
 }
コード例 #4
0
 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
 }
コード例 #5
0
 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
 }
コード例 #6
0
 public void Add(SktParticipant item)
 {
     base.Add((SktParticipant)item);
 }
コード例 #7
0
 /**  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");
 }
コード例 #8
0
 public OnParticipantLiveStartTimestampArgs(SktParticipant sender, DateTime newValue)
 {
     this.sender = sender;  value = newValue;
 }
コード例 #9
0
 public OnParticipantLiveTypeArgs(SktParticipant sender, SktSkype.IDENTITYTYPE newValue)
 {
     this.sender = sender;  value = newValue;
 }
コード例 #10
0
 public OnParticipantLiveIdentityArgs(SktParticipant sender, String newValue)
 {
     this.sender = sender;  value = newValue;
 }
コード例 #11
0
 public OnParticipantLivePriceForMeArgs(SktParticipant sender, String newValue)
 {
     this.sender = sender;  value = newValue;
 }
コード例 #12
0
 public OnParticipantLastVoiceErrorArgs(SktParticipant sender, String newValue)
 {
     this.sender = sender;  value = newValue;
 }
コード例 #13
0
 public OnParticipantLastLeavereasonArgs(SktParticipant sender, SktSkype.LEAVE_REASON newValue)
 {
     this.sender = sender;  value = newValue;
 }
コード例 #14
0
 public OnParticipantDebuginfoArgs(SktParticipant sender, String newValue)
 {
     this.sender = sender;  value = newValue;
 }
コード例 #15
0
 /* 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];
 }
コード例 #16
0
 public OnParticipantQualityProblemsArgs(SktParticipant sender, String newValue)
 {
     this.sender = sender;  value = newValue;
 }
コード例 #17
0
 /**  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");
 }
コード例 #18
0
 public OnParticipantRequestedRankArgs(SktParticipant sender, SktParticipant.RANK newValue)
 {
     this.sender = sender;  value = newValue;
 }
コード例 #19
0
 /**  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");
 }
コード例 #20
0
 public OnParticipantSoundLevelArgs(SktParticipant sender, uint newValue)
 {
     this.sender = sender;  value = newValue;
 }
コード例 #21
0
 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
 }
コード例 #22
0
 public OnParticipantTextStatusArgs(SktParticipant sender, SktParticipant.TEXT_STATUS newValue)
 {
     this.sender = sender;  value = newValue;
 }
コード例 #23
0
 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
 }
コード例 #24
0
 public OnParticipantTransferredToArgs(SktParticipant sender, String newValue)
 {
     this.sender = sender;  value = newValue;
 }
コード例 #25
0
 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
 }
コード例 #26
0
 public OnParticipantVideoStatusArgs(SktParticipant sender, SktParticipant.VIDEO_STATUS newValue)
 {
     this.sender = sender;  value = newValue;
 }
コード例 #27
0
 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
 }
コード例 #28
0
 public OnParticipantVoiceStatusArgs(SktParticipant sender, SktParticipant.VOICE_STATUS newValue)
 {
     this.sender = sender;  value = newValue;
 }
コード例 #29
0
 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
 }
コード例 #30
0
 public OnParticipantAdderArgs(SktParticipant sender, String newValue)
 {
     this.sender = sender;  value = newValue;
 }