OH_ArkUI_CustomDialog_SetHoverModeArea

Function OH_ArkUI_CustomDialog_SetHoverModeArea 

Source
pub unsafe extern "C" fn OH_ArkUI_CustomDialog_SetHoverModeArea(
    options: *mut ArkUI_CustomDialogOptions,
    hoverModeAreaType: ArkUI_HoverModeAreaType,
) -> i32
Available on crate features api-12 and api-19 only.
Expand description

Set the default display area of the dialog box in hover mode.

§Arguments

  • options - Dialog box parameters.

  • hoverModeAreaType - Display area in hover mode, specified by an enumerated value.

§Returns

  • Returns the error code. Returns [ARKUI_ERROR_CODE_NO_ERROR] if the operation is successful. Returns [ARKUI_ERROR_CODE_PARAM_INVALID] if a parameter error occurs.

Available since API-level: 19