UIUpdateAck class
- Implemented types
Constructors
- UIUpdateAck({int version = 0, String viewId = ''})
-
UIUpdateAck.fromJson(Map<
String, dynamic> json) -
factory
- UIUpdateAck.fromReader(TeleportObjectReader reader)
-
factory
- UIUpdateAck.fromTeleport(Uint8List data)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version ↔ int
-
getter/setter pair
- viewId ↔ String
-
The view of the update acked, its metadata viewId. A client moved between a shared render and
another render keeps calling the actions of the render it left until it acks another view, so a
press it sent before the move arrived is not refused. Empty from a client that predates it, whose
moves end its access to the render it left at once.
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
- fieldIdVersion → const int
- fieldIdViewId → const int
-
teleportMessageType
→ const TeleportMessageType<
UIUpdateAck> - teleportOpcode → const int
- teleportVersion → const int