0.1.12 • Published 1 month ago
@capacitor/watch v0.1.12
@ionic-enterprise/capWatch
Provide Watch connectivity for Capacitor
Install
npm install @ionic-enterprise/capWatch
npx cap sync
API
addListener('runCommand', ...)
addListener(eventName: 'runCommand', listenerFunc: (data: { command: string; }) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
Listen for a command from the watch
Param | Type |
---|---|
eventName | 'runCommand' |
listenerFunc | (data: { command: string; }) => void |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
updateWatchUI(...)
updateWatchUI(options: { watchUI: string; }) => Promise<void>
Replaces the current watch UI with watchUI
Param | Type |
---|---|
options | { watchUI: string; } |
updateWatchData(...)
updateWatchData(options: { data: { [key: string]: string; }; }) => Promise<void>
Updates the watch's state data
Param | Type |
---|---|
options | { data: { key: string: string; }; } |
Interfaces
PluginListenerHandle
Prop | Type |
---|---|
remove | () => Promise<void> |
0.1.12
1 month ago
0.1.12-dev-20240408T124818.0
1 month ago
0.1.13-dev-20240408T131428.0
1 month ago
0.1.11
1 month ago
0.1.11-dev-20240405T152604.0
1 month ago
0.1.11-dev-20240405T153045.0
1 month ago
0.1.12-dev-20240405T153520.0
1 month ago
0.1.11-dev-20231102T160236.0
6 months ago
0.1.10
6 months ago
0.1.10-dev-20231102T154543.0
6 months ago
0.1.10-dev-20231102T150524.0
6 months ago
0.1.9
6 months ago
0.1.9-dev-20230905T162205.0
8 months ago
0.1.9-dev-20230824T175547.0
9 months ago
0.1.8-dev-20230824T175219.0
9 months ago
0.1.8
9 months ago
0.1.8-dev-20230809T152054.0
9 months ago
0.1.7
9 months ago
0.1.7-dev-20230801T210559.0
9 months ago
0.1.6
9 months ago
0.1.6-dev-20230720T145634.0
10 months ago
0.1.6-dev-20230718T214059.0
10 months ago
0.1.6-dev-20230718T214015.0
10 months ago
0.1.6-dev-20230718T144254.0
10 months ago
0.1.6-dev-20230718T135233.0
10 months ago
0.1.5-dev-20230718T135103.0
10 months ago
0.1.5
10 months ago
0.1.5-dev-20230713T202935.0
10 months ago
0.1.4
10 months ago
0.1.4-dev-20230713T201950.0
10 months ago
0.1.4-dev-20230713T195828.0
10 months ago
0.1.3
10 months ago
0.1.3-dev-20230713T195445.0
10 months ago
0.1.3-dev-20230713T195135.0
10 months ago
0.1.3-dev-20230713T194554.0
10 months ago
0.1.2
10 months ago