Class CaptureSourceEvent
Delivered exactly once when a started capture ends, regardless of why (stop request, end of stream, or failure).
public sealed class CaptureSourceEvent : Google.Protobuf.IMessage<CaptureSourceEvent>, Google.Protobuf.IBufferMessage
- Inheritance
-
CaptureSourceEvent
- Implements
-
IBufferMessage
- Extension Methods
Constructors
CaptureSourceEvent()
public CaptureSourceEvent()
CaptureSourceEvent(CaptureSourceEvent)
public CaptureSourceEvent(CaptureSourceEvent other)
Parameters
otherCaptureSourceEvent
Fields
CaptureHandleFieldNumber
Field number for the "capture_handle" field.
public const int CaptureHandleFieldNumber = 1
Field Value
ErrorFieldNumber
Field number for the "error" field.
public const int ErrorFieldNumber = 3
Field Value
FinishedFieldNumber
Field number for the "finished" field.
public const int FinishedFieldNumber = 2
Field Value
Properties
CaptureHandle
public ulong CaptureHandle { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Error
public CaptureError Error { get; set; }
Property Value
Finished
public CaptureFinished Finished { get; set; }
Property Value
HasCaptureHandle
Gets whether the "capture_handle" field is set
public bool HasCaptureHandle { get; }
Property Value
MessageCase
public CaptureSourceEvent.MessageOneofCase MessageCase { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<CaptureSourceEvent> Parser { get; }
Property Value
- MessageParser<CaptureSourceEvent>
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearCaptureHandle()
Clears the value of the "capture_handle" field
public void ClearCaptureHandle()
ClearMessage()
public void ClearMessage()
Clone()
public CaptureSourceEvent Clone()
Returns
Equals(CaptureSourceEvent)
public bool Equals(CaptureSourceEvent other)
Parameters
otherCaptureSourceEvent
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(CaptureSourceEvent)
public void MergeFrom(CaptureSourceEvent other)
Parameters
otherCaptureSourceEvent
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream