🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

capacitor-plugin-ihealth

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-plugin-ihealth

capacitor plugin to integrate ihealth sdk

Source
npmnpm
Version
1.1.4
Version published
Maintainers
1
Created
Source

capacitor-plugin-ihealth

capacitor plugin to integrate ihealth sdk

Install

npm install capacitor-plugin-ihealth
npx cap sync

API

authoriseiHealthSdk()

authoriseiHealthSdk() => Promise<{ value: any; }>

Returns: Promise<{ value: any; }>

isBluetoothEnabled()

isBluetoothEnabled() => Promise<{ value: any; }>

Returns: Promise<{ value: any; }>

initialiseCentralManager()

initialiseCentralManager() => Promise<{ value: any; }>

Returns: Promise<{ value: any; }>

scanDiscover(...)

scanDiscover(options: Object) => Promise<{ value: any; }>
ParamType
optionsObject

Returns: Promise<{ value: any; }>

connectDevice(...)

connectDevice(options: Object) => Promise<any>
ParamType
optionsObject

Returns: Promise<any>

getConnectedDeviceInstance(...)

getConnectedDeviceInstance(options: Object) => Promise<{ value: any; }>
ParamType
optionsObject

Returns: Promise<{ value: any; }>

disconnectDevice()

disconnectDevice() => Promise<{ value: any; }>

Returns: Promise<{ value: any; }>

deleteDeviceData()

deleteDeviceData() => Promise<{ value: any; }>

Returns: Promise<{ value: any; }>

getDeviceOfflineData()

getDeviceOfflineData() => Promise<{ value: any; }>

Returns: Promise<{ value: any; }>

startBP5SMeasurement()

startBP5SMeasurement() => Promise<{ value: any; }>

Returns: Promise<{ value: any; }>

addListener([eventName: 'OnlineDeviceData', listenerFunc: (info: any) => void] | [eventName: 'toast', listenerFunc: (info: any) => void] | [eventName: 'error', listenerFunc: (info: any) => void] | [eventName: 'deviceDatafound', listenerFunc: (info: any) => void] | [eventName: 'StartMeasurementFinished', listenerFunc: (info: any) => void] | [eventName: 'dataNotFound', listenerFunc: (info: any) => void] | [eventName: 'deviceConnectFail', listenerFunc: (info: any) => void] | [eventName: 'deviceDisconnect', listenerFunc: (info: any) => void] | [eventName: 'deviceDiscover', listenerFunc: (info: any) => void] | [eventName: 'deviceConnect', listenerFunc: (info: any) => void], ...)

addListener(...args: [eventName: "OnlineDeviceData", listenerFunc: (info: any) => void] | [eventName: "toast", listenerFunc: (info: any) => void] | [eventName: "error", listenerFunc: (info: any) => void] | [eventName: "deviceDatafound", listenerFunc: (info: any) => void] | [eventName: "StartMeasurementFinished", listenerFunc: (info: any) => void] | [eventName: "dataNotFound", listenerFunc: (info: any) => void] | [eventName: "deviceConnectFail", listenerFunc: (info: any) => void] | [eventName: "deviceDisconnect", listenerFunc: (info: any) => void] | [eventName: "deviceDiscover", listenerFunc: (info: any) => void] | [eventName: "deviceConnect", listenerFunc: (info: any) => void]) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
args[eventName: 'OnlineDeviceData', listenerFunc: (info: any) => void] | [eventName: 'toast', listenerFunc: (info: any) => void] | [eventName: 'error', listenerFunc: (info: any) => void] | [eventName: 'deviceDatafound', listenerFunc: (info: any) => void] | [eventName: 'StartMeasurementFinished', listenerFunc: (info: any) => void] | [eventName: 'dataNotFound', listenerFunc: (info: any) => void] | [eventName: 'deviceConnectFail', listenerFunc: (info: any) => void] | [eventName: 'deviceDisconnect', listenerFunc: (info: any) => void] | [eventName: 'deviceDiscover', listenerFunc: (info: any) => void] | [eventName: 'deviceConnect', listenerFunc: (info: any) => void]

Returns: Promise<PluginListenerHandle> & PluginListenerHandle

Interfaces

Object

Provides functionality common to all JavaScript objects.

PropTypeDescription
constructorFunctionThe initial value of Object.prototype.constructor is the standard built-in Object constructor.
MethodSignatureDescription
toString() => stringReturns a string representation of an object.
toLocaleString() => stringReturns a date converted to a string using the current locale.
valueOf() => ObjectReturns the primitive value of the specified object.
hasOwnProperty(v: PropertyKey) => booleanDetermines whether an object has a property with the specified name.
isPrototypeOf(v: Object) => booleanDetermines whether an object exists in another object's prototype chain.
propertyIsEnumerable(v: PropertyKey) => booleanDetermines whether a specified property is enumerable.

Function

Creates a new function.

PropType
prototypeany
lengthnumber
argumentsany
callerFunction
MethodSignatureDescription
apply(this: Function, thisArg: any, argArray?: any) => anyCalls 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[]) => anyCalls a method of an object, substituting another object for the current object.
bind(this: Function, thisArg: any, ...argArray: any[]) => anyFor 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() => stringReturns a string representation of a function.

PluginListenerHandle

PropType
remove() => Promise<void>

Type Aliases

PropertyKey

string | number | symbol

Keywords

capacitor

FAQs

Package last updated on 24 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts