removeTabBarBadge
Requires:
MiniKit≥1.0.0@ray-js/ray≥0.3.23
Platforms:
iOSAndroid
Method signature
removeTabBarBadge(params: )Description
Remove the text at the top-right corner of a tabBar item
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
index | number | Yes | Which tabBar item, counting from the left |
complete | () => void | No | Completion callback (executed on both success and failure) |
success | () => void | No | Callback on successful API call |
fail | (params: Object) => void | No | Failure callback |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None