Class VideoFrameReceived
public sealed class VideoFrameReceived : Google.Protobuf.IMessage<VideoFrameReceived>, Google.Protobuf.IBufferMessage
- Inheritance
-
VideoFrameReceived
- Implements
-
IBufferMessage
- Extension Methods
Constructors
VideoFrameReceived()
public VideoFrameReceived()
VideoFrameReceived(VideoFrameReceived)
public VideoFrameReceived(VideoFrameReceived other)
Parameters
otherVideoFrameReceived
Fields
BufferFieldNumber
Field number for the "buffer" field.
public const int BufferFieldNumber = 1
Field Value
RotationFieldNumber
Field number for the "rotation" field.
public const int RotationFieldNumber = 3
Field Value
TimestampUsFieldNumber
Field number for the "timestamp_us" field.
public const int TimestampUsFieldNumber = 2
Field Value
Properties
Buffer
public OwnedVideoBuffer Buffer { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasRotation
Gets whether the "rotation" field is set
public bool HasRotation { get; }
Property Value
HasTimestampUs
Gets whether the "timestamp_us" field is set
public bool HasTimestampUs { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<VideoFrameReceived> Parser { get; }
Property Value
- MessageParser<VideoFrameReceived>
Rotation
public VideoRotation Rotation { get; set; }
Property Value
TimestampUs
In microseconds
public long TimestampUs { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearRotation()
Clears the value of the "rotation" field
public void ClearRotation()
ClearTimestampUs()
Clears the value of the "timestamp_us" field
public void ClearTimestampUs()
Clone()
public VideoFrameReceived Clone()
Returns
Equals(VideoFrameReceived)
public bool Equals(VideoFrameReceived other)
Parameters
otherVideoFrameReceived
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(VideoFrameReceived)
public void MergeFrom(VideoFrameReceived other)
Parameters
otherVideoFrameReceived
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream