pub unsafe extern "C" fn OH_ArkUI_CustomDialog_SetLevelUniqueId(
options: *mut ArkUI_CustomDialogOptions,
uniqueId: i32,
) -> i32Available on crate features
api-12 and api-19 only.Expand description
Sets the level uniqueId for a custom dialog box.
§Arguments
-
options- Indicates the pointer to the custom dialog options. -
uniqueId- Indicates the unique id of any nodes in router or navigation pages.
§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