pub unsafe extern "C" fn OH_ArkUI_CustomDialog_SetBorderStyle(
options: *mut ArkUI_CustomDialogOptions,
top: i32,
right: i32,
bottom: i32,
left: i32,
) -> i32Available on crate features
api-12 and api-19 only.Expand description
Sets the border style of the dialog box.
§Arguments
-
options- Dialog box parameters. -
top- Style of the top border. -
right- Style of the right border. -
bottom- Style of the bottom border. -
left- Style of the left border.
§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