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— liveWCSession.sendMessage/MessageClient.sendMessagevoo_watch/application_context—WCSession.updateApplicationContext/DataClientvoo_watch/user_info—WCSession.transferUserInfo/DataClientvoo_watch/reachability— pairing/reachability streamvoo_watch/haptics— fire-and-forget hapticvoo_watch/health— health subscribe/samplevoo_watch/complications— complication/tile updates
- Implementers
Constructors
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