Skip to main content

OH_PrivateCommand_GetValueType

Function OH_PrivateCommand_GetValueType 

Source
pub unsafe extern "C" fn OH_PrivateCommand_GetValueType(
    command: *mut InputMethod_PrivateCommand,
    type_: *mut InputMethod_CommandValueType,
) -> InputMethod_ErrorCode
Expand description

@brief Get value type from {@link InputMethod_PrivateCommand}.

@param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be get value from. @param type Represents a pointer to a {@link InputMethod_CommandValueType} instance. Indicates the data type of the 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