Skip to main content

OH_PrivateCommand_SetBoolValue

Function OH_PrivateCommand_SetBoolValue 

Source
pub unsafe extern "C" fn OH_PrivateCommand_SetBoolValue(
    command: *mut InputMethod_PrivateCommand,
    value: bool,
) -> InputMethod_ErrorCode
Expand description

@brief Set bool data value into {@link InputMethod_PrivateCommand}.

@param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be set value. @param value Represents bool data value. @return Returns a specific error code. {@link IME_ERR_OK} - success. {@link IME_ERR_NULL_POINTER} - unexpected null pointer. Specific error codes can be referenced {@link InputMethod_ErrorCode}. @since 12