isSupportedShortcut
Requires:
BizKit≥3.1.1@ray-js/ray≥0.9.0
Platforms:
iOSAndroid
Method signature
isSupportedShortcut(params: )Minimum SDK versions
- iOS
ThingSmartBizKitBizBundle - ≥ 5.2.1
- Android
com.thingclips.smart:thingsmart-bizbundle-bizkit - ≥ 5.2.0
Description
Whether Siri is supported, iOS only
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
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 | Minimum SDK versions |
|---|---|---|---|---|
isSupported | boolean | Whether supported | v3.1.2 | — |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None