openSetting(params: Object)
Requires:
MiniKit≥2.6.0@ray-js/ray≥0.5.9
Platforms:
iOSAndroid
Description
Open the client mini program settings page and return the result of the user’s settings.
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 | MiniKit Since |
|---|---|---|---|
| User authorization settings | v3.2.0 |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None