| interface info |
| public interface BarrierClient |
| Entry for the client to register with the server and query barriers on the server. |
| Return type | Method name |
| Task<BarrierQueryResponse> | public Task<BarrierQueryResponse> queryBarriers(BarrierQueryRequest request) |
| Task<Void> | public Task<Void> updateBarriers(BarrierUpdateRequest request) |
| Method |
| public Task<BarrierQueryResponse> queryBarriers(BarrierQueryRequest request) |
| Queries the current status of a target barrier. |
Parameters
| Parameter name | Parameter desc |
| request | Query request containing query condition parameters. |
Return
| Type | desc |
| Task<BarrierQueryResponse> | Target barrier information, including the key value and current status. |
Parameters
| Parameter name | Parameter desc |
| request | Request for adding or deleting a barrier. |
Return
| Type | desc |
| Task<Void> | Generics of Task. You can use isSuccessful() in Task to check whether the operation is successful. |
Indicates whether to display a dialog box when Awareness Kit and HMS Core are upgraded.
Note: Excise precaution when using this method. If you determine not to display such a dialog box, no upgrade will be performed, because not displaying the dialog box has the same effect as selecting Cancel in the dialog box if it appears. All functions of Awareness Kit will be unavailable before its upgrade is complete. In this case, wait for a silent upgrade, which generally occurs every 7 to 14 days. The functions will be resumed after a silent upgrade is complete.