capacitor-plugin-healthapp
v0.0.1
Published
capacitor plugin for healthapp
Downloads
3
Readme
capacitor-plugin-healthapp
capacitor plugin for healthapp
Install
npm install capacitor-plugin-healthapp
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: string; }>
getHealthKitData(...)
getHealthKitData(options: Object) => Promise<{ value: any; }>
| Param | Type |
| ------------- | ----------------------------------------- |
| options
| Object |
Returns: Promise<{ value: any; }>
getIndividualHealthKitData(...)
getIndividualHealthKitData(options: Object) => Promise<{ value: any; }>
| Param | Type |
| ------------- | ----------------------------------------- |
| options
| Object |
Returns: Promise<{ value: any; }>
Interfaces
Object
Provides functionality common to all JavaScript objects.
| Prop | Type | Description |
| ----------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| constructor
| Function | The initial value of Object.prototype.constructor is the standard built-in Object constructor. |
| Method | Signature | Description | | ------------------------ | --------------------------------------------------------- | ------------------------------------------------------------------------ | | toString | () => string | Returns a string representation of an object. | | toLocaleString | () => string | Returns a date converted to a string using the current locale. | | valueOf | () => Object | Returns the primitive value of the specified object. | | hasOwnProperty | (v: PropertyKey) => boolean | Determines whether an object has a property with the specified name. | | isPrototypeOf | (v: Object) => boolean | Determines whether an object exists in another object's prototype chain. | | propertyIsEnumerable | (v: PropertyKey) => boolean | Determines whether a specified property is enumerable. |
Function
Creates a new function.
| Prop | Type |
| --------------- | --------------------------------------------- |
| prototype
| any |
| length
| number |
| arguments
| any |
| caller
| Function |
| Method | Signature | Description | | ------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | apply | (this: Function, thisArg: any, argArray?: any) => any | Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function. | | call | (this: Function, thisArg: any, ...argArray: any[]) => any | Calls a method of an object, substituting another object for the current object. | | bind | (this: Function, thisArg: any, ...argArray: any[]) => any | For a given function, creates a bound function that has the same body as the original function. The this object of the bound function is associated with the specified object, and has the specified initial parameters. | | toString | () => string | Returns a string representation of a function. |
Type Aliases
PropertyKey
string | number | symbol