UIUpdateAckBatch class
- Implemented types
Constructors
-
UIUpdateAckBatch({List<
UIUpdateAckBatchItem> acks = const [], List<int> sessionIds = const [], List<int> trackIds = const [], List<int> versions = const [], List<int> viewIndexes = const [], List<String> viewIds = const []}) -
UIUpdateAckBatch.fromJson(Map<
String, dynamic> json) -
factory
- UIUpdateAckBatch.fromReader(TeleportObjectReader reader)
-
factory
- UIUpdateAckBatch.fromTeleport(Uint8List data)
-
factory
Properties
-
acks
↔ List<
UIUpdateAckBatchItem> -
The newest UI_UPDATE_ACK of each of many clients, which the server gathers and sends an app at
SdkCapabilities.UIAckBatches in place of one message per ack. Sent by the server only; a client's
copy is dropped.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sessionIds
↔ List<
int> -
To an app at SdkCapabilities.UIAckBatchColumns the server sends the acks as columns in place of Acks,
about a quarter of the bytes: entry i of SessionIds, TrackIds, Versions and ViewIndexes is one ack,
and ViewIndexes names its view by its index in ViewIds, which lists each view once, or is -1 for an
ack that named none.
getter/setter pair
-
trackIds
↔ List<
int> -
getter/setter pair
-
versions
↔ List<
int> -
getter/setter pair
-
viewIds
↔ List<
String> -
getter/setter pair
-
viewIndexes
↔ List<
int> -
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toProtocolMessage(
int senderId, {ProtocolMessageOverrides? overrides}) → ProtocolMessage -
Frames the message under its type's opcode and payload version. The type's default flags
(unreliable for an unreliable message) are added to
overrides' own.override -
toString(
) → String -
A string representation of this object.
inherited
-
toTeleport(
) → Uint8List -
writeTo(
TeleportObjectWriter scope) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fieldIdAcks → const int
- fieldIdSessionIds → const int
- fieldIdTrackIds → const int
- fieldIdVersions → const int
- fieldIdViewIds → const int
- fieldIdViewIndexes → const int
-
teleportMessageType
→ const TeleportMessageType<
UIUpdateAckBatch> - teleportOpcode → const int
- teleportVersion → const int