FrameDelivered class final

A frame was delivered to at least one sink. Carries size metadata, never the bytes themselves.

Inheritance
Annotations
  • @immutable

Constructors

FrameDelivered({required String sourceId, required int sequence, required int revision, required int byteLength, required String contentType, required DateTime capturedAt})
Creates the event.
const

Properties

byteLength → int
Encoded payload size in bytes.
final
capturedAt → DateTime
When the target was captured.
final
contentType → String
MIME type of the payload, e.g. image/jpeg.
final
hashCode → int
The hash code for this object.
no setterinherited
revision → int
Target revision the frame belongs to.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sequence → int
Source-side monotonic frame counter.
final
sourceId → String
Identifier of the source that produced the frame.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
Serializes the event for --json surfaces.
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited