Module native_dialog

Module native_dialog 

Source
Available on crate feature api-12 only.

Structs§

ArkUI_DialogDismissEvent
Defines a struct for a dialog box dismiss event.
ArkUI_DismissReason
Enumerates the actions for triggering closure of the dialog box.
ArkUI_ImmersiveModeapi-15
Enumerates the immersive mode.
ArkUI_LevelModeapi-15
Enumerates the level mode.
ArkUI_NativeDialogAPI_1
Provides the custom dialog box APIs for the native side.
ArkUI_NativeDialogAPI_2api-15
Provides the custom dialog box APIs for the native side.

Functions§

OH_ArkUI_DialogDismissEvent_GetDismissReason
Obtains the c from a dialog box dismiss event object.
OH_ArkUI_DialogDismissEvent_GetUserData
Obtains the pointer to user data in a dialog box dismiss event object.
OH_ArkUI_DialogDismissEvent_SetShouldBlockDismiss
Sets whether to block the system behavior of dismissing a dialog box.

Type Aliases§

ArkUI_OnWillDismissEvent
Invoked when the dialog box is closed.