VooWatchTransport class abstract

Low-level transport between Dart and the native plugin (or a fake for tests).

Channels are stable strings shared across iOS and Android plugins:

  • voo_watch/messages — live WCSession.sendMessage / MessageClient.sendMessage
  • voo_watch/application_contextWCSession.updateApplicationContext / DataClient
  • voo_watch/user_infoWCSession.transferUserInfo / DataClient
  • voo_watch/reachability — pairing/reachability stream
  • voo_watch/haptics — fire-and-forget haptic
  • voo_watch/health — health subscribe/sample
  • voo_watch/complications — complication/tile updates
Implementers

Constructors

VooWatchTransport()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() Future<void>
Tear down any subscriptions / sinks.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reachability() Stream<VooWatchReachability>
Reachability stream (already decoded for convenience).
receive(String channel) Stream<Map<String, Object?>>
Stream of payloads received on a channel.
send(String channel, Map<String, Object?> payload) Future<void>
Send a payload on a channel (one-way, fire-and-forget acknowledged).
toString() String
A string representation of this object.
inherited

Operators

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