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