VooWatchHealth class
HealthKit (watchOS) / Health Services (Wear OS) passthrough.
Constructors
- VooWatchHealth(VooWatchHealthRepository _repository)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
samples
→ Stream<
VooWatchHealthSample> -
Stream of samples forwarded from the watch.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subscribe(
Set< VooWatchHealthMetric> metrics) → Future<bool> - Ask the watch to start streaming the given metrics. Returns false if the user has not granted the corresponding entitlement / permission yet.
-
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribe(
Set< VooWatchHealthMetric> metrics) → Future<void> - Stop streaming the given metrics.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited