Develop Secure Code
HealthService Data Types
getHealthService()
isAvailable()
getWeight(options)
writeWeight(record)
getHealthService()Use this factory function to get an instance of HealthService.
1import { getHealthService } from 'lightning/mobileCapabilities';
2getHealthService(): HealthServiceNone
An instance of HealthService.
There are no parameters or options when creating an instance. Use the instance to perform health data operations.
See Also