Capacitor plugin for Ionic enabling seamless watch connectivity
npm install ionic-watch-connectivity
npx cap sync
isWatchAvailable() => Promise<WatchAvailability>
Returns: Promise<WatchAvailability>
updateApplicationContext(data: ApplicationContextUpdateData) => Promise<WatchConnectivityOperationResult>
Param | Type |
---|---|
data |
ApplicationContextUpdateData |
Returns: Promise<WatchConnectivityOperationResult>
Prop | Type |
---|---|
isAvailable |
boolean |
Prop | Type |
---|---|
success |
boolean |
message |
string |
Prop | Type |
---|---|
data |
object |