isAssociatedShortcut(params: Object)
Requires:
BizKit≥3.1.1@ray-js/ray≥0.8.0
Platforms:
iOSAndroid
Description
Get Siri association status, iOS only
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
sceneId | string | Yes | Scene ID |
name | string | No | Scene name |
complete | () => void | No | Completion callback (executed on both success and failure) |
success | (params: Object) => void | No | Callback on successful API call |
fail | (params: Object) => void | No | Failure callback |
success callback parameters
| Property | Type | Description | BizKit Since |
|---|---|---|---|
isAssociated | boolean | Whether associated | v3.1.2 |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None