OH_NativeXComponent_SetNeedSoftKeyboard

Function OH_NativeXComponent_SetNeedSoftKeyboard 

Source
pub unsafe extern "C" fn OH_NativeXComponent_SetNeedSoftKeyboard(
    component: *mut OH_NativeXComponent,
    needSoftKeyboard: bool,
) -> i32
Available on crate feature api-12 only.
Expand description

Set whether the OH_NativeXComponent instance needs soft keyboard.

§Arguments

  • component - Indicates the pointer to this OH_NativeXComponent instance.

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

§Returns

  • Returns the status code of the execution.

Available since API-level: 12

Version: 1.0