capacitor-ably
Capacitor Ably plugin
Install
npm install capacitor-ably
npx cap sync
API
registerDevice(...)
registerDevice(options: AblyDeviceOptions) => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
registerChannel(...)
registerChannel(options: AblyChannelOptions) => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
Interfaces
AblyDeviceOptions
Prop |
Type |
clientId |
string |
deviceToken |
string |
AblyChannelOptions
Prop |
Type |
name |
string |
clientId |
string |
deviceToken |
string |