OH_ArkUI_XComponent_SetNeedSoftKeyboard

Function OH_ArkUI_XComponent_SetNeedSoftKeyboard 

Source
pub unsafe extern "C" fn OH_ArkUI_XComponent_SetNeedSoftKeyboard(
    node: ArkUI_NodeHandle,
    needSoftKeyboard: bool,
) -> i32
Available on crate feature api-20 only.
Expand description

Set whether the XComponent node needs soft keyboard when focused.

§Arguments

  • node - Indicates the pointer to the XComponent node.

  • needSoftKeyboard - Indicates whether the XComponent node needs soft keyboard or not. Default value is false.

§Returns

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

Available since API-level: 20