| InputMethod_PrivateCommand * OH_PrivateCommand_Create (char key[], size_t keyLength) |
Creates an InputMethod_PrivateCommand instance. |
| void OH_PrivateCommand_Destroy (InputMethod_PrivateCommand *command) |
Destroys an InputMethod_PrivateCommand instance. |
| InputMethod_ErrorCode OH_PrivateCommand_SetKey (InputMethod_PrivateCommand *command, char key[], size_t keyLength) |
Sets the key value for InputMethod_PrivateCommand. |
| InputMethod_ErrorCode OH_PrivateCommand_SetBoolValue (InputMethod_PrivateCommand *command, bool value) |
Sets the value of the Boolean type for InputMethod_PrivateCommand. |
| InputMethod_ErrorCode OH_PrivateCommand_SetIntValue (InputMethod_PrivateCommand *command, int32_t value) |
Sets the value of the integer type for InputMethod_PrivateCommand. |
| InputMethod_ErrorCode OH_PrivateCommand_SetStrValue (InputMethod_PrivateCommand *command, char value[], size_t valueLength) |
Sets the value of the character string type for InputMethod_PrivateCommand. |
| InputMethod_ErrorCode OH_PrivateCommand_GetKey (InputMethod_PrivateCommand *command, const char **key, size_t *keyLength) |
Obtains the key value from InputMethod_PrivateCommand. |
| InputMethod_ErrorCode OH_PrivateCommand_GetValueType (InputMethod_PrivateCommand *command, InputMethod_CommandValueType *type) |
Obtains the data type of value from InputMethod_PrivateCommand. |
| InputMethod_ErrorCode OH_PrivateCommand_GetBoolValue (InputMethod_PrivateCommand *command, bool *value) |
Obtains the value of the Boolean type from InputMethod_PrivateCommand. |
| InputMethod_ErrorCode OH_PrivateCommand_GetIntValue (InputMethod_PrivateCommand *command, int32_t *value) |
Obtains the value of the integer type from InputMethod_PrivateCommand. |
| InputMethod_ErrorCode OH_PrivateCommand_GetStrValue (InputMethod_PrivateCommand *command, const char **value, size_t *valueLength) |
Obtains the value of the character string type from InputMethod_PrivateCommand. |