Class DataPacketReceived
public sealed class DataPacketReceived : Google.Protobuf.IMessage<DataPacketReceived>, Google.Protobuf.IBufferMessage
- Inheritance
-
DataPacketReceived
- Implements
-
IBufferMessage
- Extension Methods
Constructors
DataPacketReceived()
public DataPacketReceived()
DataPacketReceived(DataPacketReceived)
public DataPacketReceived(DataPacketReceived other)
Parameters
otherDataPacketReceived
Fields
KindFieldNumber
Field number for the "kind" field.
public const int KindFieldNumber = 1
Field Value
ParticipantIdentityFieldNumber
Field number for the "participant_identity" field.
public const int ParticipantIdentityFieldNumber = 2
Field Value
SipDtmfFieldNumber
Field number for the "sip_dtmf" field.
public const int SipDtmfFieldNumber = 5
Field Value
UserFieldNumber
Field number for the "user" field.
public const int UserFieldNumber = 4
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasKind
Gets whether the "kind" field is set
public bool HasKind { get; }
Property Value
HasParticipantIdentity
Gets whether the "participant_identity" field is set
public bool HasParticipantIdentity { get; }
Property Value
Kind
public DataPacketKind Kind { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<DataPacketReceived> Parser { get; }
Property Value
- MessageParser<DataPacketReceived>
ParticipantIdentity
Can be empty if the data is sent a server SDK
public string ParticipantIdentity { get; set; }
Property Value
SipDtmf
public SipDTMF SipDtmf { get; set; }
Property Value
User
public UserPacket User { get; set; }
Property Value
ValueCase
public DataPacketReceived.ValueOneofCase ValueCase { get; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearKind()
Clears the value of the "kind" field
public void ClearKind()
ClearParticipantIdentity()
Clears the value of the "participant_identity" field
public void ClearParticipantIdentity()
ClearValue()
public void ClearValue()
Clone()
public DataPacketReceived Clone()
Returns
Equals(DataPacketReceived)
public bool Equals(DataPacketReceived other)
Parameters
otherDataPacketReceived
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(DataPacketReceived)
public void MergeFrom(DataPacketReceived other)
Parameters
otherDataPacketReceived
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream