1# native_dialog.h 2 3 4## Overview 5 6Declares a set of custom dialog box APIs of ArkUI on the native side. 7 8**Library**: libace_ndk.z.so 9 10**System capability**: SystemCapability.ArkUI.ArkUI.Full 11 12**Since**: 12 13 14**Related module**: [ArkUI_NativeModule](_ark_u_i___native_module.md) 15 16 17## Summary 18 19 20### Structs 21 22| Name | Description | 23| -------- | -------- | 24| struct [ArkUI_NativeDialogAPI_1](_ark_u_i___native_dialog_a_p_i__1.md) | Defines a struct for the custom dialog box APIs on the native side. | 25 26 27### Types 28 29| Name | Description | 30| -------- | -------- | 31| typedef bool(\* [ArkUI_OnWillDismissEvent](_ark_u_i___native_module.md#arkui_onwilldismissevent)) (int32_t reason) | Invoked when the dialog box is closed. | 32 33 34### Enums 35 36| Name | Description | 37| -------- | -------- | 38| [ArkUI_DismissReason](_ark_u_i___native_module.md#arkui_dismissreason) { [DIALOG_DISMISS_BACK_PRESS](_ark_u_i___native_module.md) = 0, [DIALOG_DISMISS_TOUCH_OUTSIDE](_ark_u_i___native_module.md) } | Enumerates the actions for triggering closure of the dialog box. | 39