getHealthConnectStatus(params: Object)
Requires:
HealthKit≥5.18.0@ray-js/ray≥1.6.17
Platforms:
Android
Description
Get Health Connect SDK availability and authorization status [Android only]
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
complete | () => void | No | Completion callback (executed on both success and failure) |
| No | Callback on successful API call | ||
fail | (params: Object) => void | No | Failure callback |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None