Available on crate feature
api-12 only.Structs§
- ArkUI_
Custom Dialog Options api-19 - Defines a struct for the content object of a custom dialog box.
- ArkUI_
Dialog Dismiss Event - Defines a struct for a dialog box dismiss event.
- ArkUI_
Dialog State api-20 - Enumerates the state of dialog.
- ArkUI_
Dismiss Reason - Enumerates the actions for triggering closure of the dialog box.
- ArkUI_
Immersive Mode api-15 - Enumerates the immersive mode.
- ArkUI_
Level Mode api-15 - Enumerates the level mode.
- ArkUI_
Native DialogAPI_ 1 - Provides the custom dialog box APIs for the native side.
- ArkUI_
Native DialogAPI_ 2 api-15 - Provides the custom dialog box APIs for the native side.
- ArkUI_
Native DialogAPI_ 3 api-19 - Provides the custom dialog box APIs for the native side.
Functions§
- OH_
ArkUI_ ⚠Custom Dialog_ Close Dialog api-19 - Closes a custom dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ Create Options api-19 - Creates custom dialog box options.
- OH_
ArkUI_ ⚠Custom Dialog_ Dispose Options api-19 - Destroys the custom dialog box options.
- OH_
ArkUI_ ⚠Custom Dialog_ GetState api-20 - Get state of dialog.
- OH_
ArkUI_ ⚠Custom Dialog_ Open Dialog api-19 - Displays a custom dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ Register OnDid Appear Callback api-19 - Registers a callback to be invoked when the custom dialog box appears.
- OH_
ArkUI_ ⚠Custom Dialog_ Register OnDid Disappear Callback api-19 - Registers a callback to be invoked when the custom dialog box disappears.
- OH_
ArkUI_ ⚠Custom Dialog_ Register OnWill Appear Callback api-19 - Registers a callback to be invoked when the custom dialog box is about to appear.
- OH_
ArkUI_ ⚠Custom Dialog_ Register OnWill Disappear Callback api-19 - Registers a callback to be invoked when the custom dialog box is about to disappear.
- OH_
ArkUI_ ⚠Custom Dialog_ Register OnWill Dismiss Callback api-19 - Registers a callback for the dismissal event of the custom dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetAlignment api-19 - Sets the alignment mode of the dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetAuto Cancel api-19 - Specifies whether to allow users to touch the mask to dismiss the custom dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetBackground Blur Style api-19 - Sets the background blur style of the dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetBackground Blur Style Options api-19 - Sets the background blur effect for a dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetBackground Color api-19 - Sets the background color of the dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetBackground Effect api-19 - Sets the background effect parameters for a dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetBorder Color api-19 - Sets the border color of the dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetBorder Style api-19 - Sets the border style of the dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetBorder Width api-19 - Sets the border width of the dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetCorner Radius api-19 - Sets the corner radius for a custom dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetCustom Shadow api-19 - Sets the custom shadow of the dialog box background.
- OH_
ArkUI_ ⚠Custom Dialog_ SetHeight api-19 - Sets the height of the dialog box background.
- OH_
ArkUI_ ⚠Custom Dialog_ SetHover Mode Area api-19 - Set the default display area of the dialog box in hover mode.
- OH_
ArkUI_ ⚠Custom Dialog_ SetHover Mode Enabled api-19 - Sets whether to enable the hover mode for the dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetImmersive Mode api-19 - Sets the immersive mode for a custom dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetKeyboard Avoid Mode api-19 - Sets the keyboard avoidance mode of the dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetLevel Mode api-19 - Sets the level mode for a custom dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetLevel Unique Id api-19 - Sets the level uniqueId for a custom dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetMask api-19 - Sets the mask for a custom dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetModal Mode api-19 - Sets the modal mode for a custom dialog box.
- OH_
ArkUI_ ⚠Custom Dialog_ SetShadow api-19 - Sets the shadow of the dialog box background.
- OH_
ArkUI_ ⚠Custom Dialog_ SetSubwindow Mode api-19 - Sets whether to display the dialog box in a subwindow.
- OH_
ArkUI_ ⚠Custom Dialog_ SetWidth api-19 - Sets the width of the dialog box background.
- OH_
ArkUI_ ⚠Custom Dialog_ Update Dialog api-19 - Updates a custom dialog box.
- OH_
ArkUI_ ⚠Dialog Dismiss Event_ GetDismiss Reason - Obtains the c from a dialog box dismiss event object.
- OH_
ArkUI_ ⚠Dialog Dismiss Event_ GetUser Data - Obtains the pointer to user data in a dialog box dismiss event object.
- OH_
ArkUI_ ⚠Dialog Dismiss Event_ SetShould Block Dismiss - Sets whether to block the system behavior of dismissing a dialog box.
Type Aliases§
- ArkUI_
OnWill Dismiss Event - Invoked when the dialog box is closed.