SpikeConnectionV3 class
Methods
checkHealthConnectAvailability ()
→ Future <HealthConnectAvailabilityStatus >
Check if Health Connect is installed or should be updated.
checkSamsungHealthDataAvailability ()
→ Future <SamsungHealthAvailability >
Check if Samsung Health Data is available on the device.
close ()
→ Future <void >
disableBackgroundDelivery ()
→ Future <bool >
disableHealthConnectIntegration ()
→ Future <void >
disableHealthKitIntegration ()
→ Future <void >
disableSamsungHealthDataIntegration ()
→ Future <void >
enableBackgroundDelivery ({List <StatisticsType > ? statisticTypes , List <MetricType > ? metricTypes , List <ActivityConfig > ? activityConfigs , List <SleepConfig > ? sleepConfigs , bool ? includeEnhancedPermissions })
→ Future <bool >
enableHealthConnectIntegration ()
→ Future <void >
enableSamsungHealthDataIntegration ()
→ Future <void >
getActivities ({required ActivityConfig config , required DateTime from , required DateTime to , StatisticsFilter ? filter })
→ Future <List <Record > >
getBackgroundDeliveryConfig ()
→ Future <BackgroundDeliveryConfig ? >
getGrantedSamsungHealthDataPermissions ()
→ Future <List <String > >
getIntegrationInitUrl ({required Provider provider , IntegrationInitConfig ? config })
→ Future <String >
getRecords ({required List <MetricType > ofTypes , required DateTime from , required DateTime to , StatisticsFilter ? filter })
→ Future <List <Record > >
getSleep ({required SleepConfig config , required DateTime from , required DateTime to , StatisticsFilter ? filter })
→ Future <List <Record > >
getStatistics ({required List <StatisticsType > ofTypes , required DateTime from , required DateTime to , required StatisticsInterval interval , StatisticsFilter ? filter })
→ Future <List <Statistic > >
getUserInfo ()
→ Future <UserInfoResponse >
getUserProperties ({required List <MetricType > ofTypes })
→ Future <UserProperties >
isHealthConnectIntegrationEnabled ()
→ Future <bool >
isHealthKitIntegrationEnabled ()
→ Future <bool >
isSamsungHealthDataIntegrationEnabled ()
→ Future <bool >
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openHealthConnectInstallation ()
→ Future <void >
requestHealthPermissions ({List <StatisticsType > ? statisticTypes , List <MetricType > ? metricTypes , List <ActivityConfig > ? activityConfigs , List <SleepConfig > ? sleepConfigs , bool ? includeEnhancedPermissions , bool ? includeBackgroundDelivery })
→ Future <bool >
iOS:
This method must be called before requesting any data from HealthKit. If the user has not
granted permissions to read HealthKit data, a system-generated dialog will appear listing the
required permissions. If the user has already granted or denied permissions, no dialog will be shown.
To read data from HealthKit, this should be run after each app start (but it is NOT needed when
the app returns from the background).
requestSamsungHealthDataPermissions ({List <StatisticsType > ? statisticTypes , List <MetricType > ? metricTypes , List <ActivityConfig > ? activityConfigs , List <SleepConfig > ? sleepConfigs })
→ Future <List <String > >
revokeAllPermissions ()
→ Future <void >
toString ()
→ String
A string representation of this object.
inherited
spike_flutter_sdk 4.3.104