VitalHealthAndroid class
- Inheritance
-
- Object
- PlatformInterface
- VitalHealthAndroid
Constructors
Properties
Methods
-
ask(
List< HealthResource> readResources, List<HealthResourceWrite> writeResources) → Future<PermissionOutcome> -
askForResources(
List< HealthResource> resources) → Future<PermissionOutcome> -
cleanUp(
) → Future< void> -
configureClient(
String apiKey, Region region, Environment environment) → Future< void> -
configureHealth(
{required HealthConfig config}) → Future< void> -
disableBackgroundSync(
) → Future< void> -
enableBackgroundSync(
) → Future< bool> -
getPauseSynchronization(
) → Future< bool> -
hasAskedForPermission(
HealthResource resource) → Future< bool> -
isAvailable(
) → Future< bool> -
isBackgroundSyncEnabled(
) → Future< bool> -
isUserConnected(
String provider) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
HealthResource resource, DateTime startDate, DateTime endDate) → Future< ProcessedData> -
setPauseSynchronization(
bool paused) → Future< void> -
setSyncNotificationContent(
SyncNotificationContent content) → Future< void> -
setUserId(
String userId) → Future< void> -
syncData(
{List< HealthResource> ? resources}) → Future<void> -
toString(
) → String -
A string representation of this object.
inherited
-
writeHealthData(
HealthResourceWrite writeResource, DateTime startDate, DateTime endDate, double value) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
) → void