Interface Info |
|---|
public interface Client Main entry of Awareness Kit. The entries to the Capture API, Barrier API, and Donate API are inherited from this API. |
Method |
|---|
public void enableUpdateWindow(boolean isEnable) Indicates whether to display a dialog box before Awareness Kit or HMS Core (APK) starts an upgrade in your app. CAUTION: Exercise caution when using this function. 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 tapping 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 seven to 14 days. The functions will be resumed after a silent upgrade is complete. |
Name | Description |
|---|---|
isEnable | Whether to display a dialog box. |