Lines Matching refs:event
50 * @brief Defines a struct for a dialog box dismiss event.
225 * @brief Registers a listener for the dismiss event of the custom dialog box.
229 * @param callback Indicates the callback for the dismiss event of the custom dialog box.
235 ArkUI_NativeDialogHandle handle, void* userData, void (*callback)(ArkUI_DialogDismissEvent* event));
241 * @param event Indicates the pointer to a dialog box dismiss event object.
246 void OH_ArkUI_DialogDismissEvent_SetShouldBlockDismiss(ArkUI_DialogDismissEvent* event, bool shouldBlockDismiss);
249 * @brief Obtains the pointer to user data in a dialog box dismiss event object.
251 * @param event Indicates the pointer to a dialog box dismiss event object.
256 void* OH_ArkUI_DialogDismissEvent_GetUserData(ArkUI_DialogDismissEvent* event);
259 * @brief Obtains the c from a dialog box dismiss event object.
261 * @param event Indicates the pointer to a dialog box dismiss event object.
271 int32_t OH_ArkUI_DialogDismissEvent_GetDismissReason(ArkUI_DialogDismissEvent* event);