Skip to main content

OH_PrivateCommand_GetIntValue

Function OH_PrivateCommand_GetIntValue 

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

@brief Get integer data value from {@link InputMethod_PrivateCommand}.

@param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be get value from. @param value Represents integer data value. @return Returns a specific error code. {@link IME_ERR_OK} - success. {@link IME_ERR_NULL_POINTER} - unexpected null pointer. {@link IME_ERR_QUERY_FAILED} - query failed, no integer value in command. Specific error codes can be referenced {@link InputMethod_ErrorCode}. @since 12