diff --git a/arkui/ace_engine/native/native_type.h b/arkui/ace_engine/native/native_type.h index e1cffe2c7160c7db22a837345b9f31bc46e40cd2..30f233942c3110eb9a685a1ec30765d2f1c2f372 100644 --- a/arkui/ace_engine/native/native_type.h +++ b/arkui/ace_engine/native/native_type.h @@ -395,6 +395,8 @@ typedef enum { ARKUI_TEXTINPUT_TYPE_NEW_PASSWORD = 11, /** Number input mode with a decimal point. */ ARKUI_TEXTINPUT_TYPE_NUMBER_DECIMAL = 12, + /** OneTimeCode input mode. */ + ARKUI_TEXTINPUT_TYPE_ONE_TIME_CODE = 13, } ArkUI_TextInputType; /** diff --git a/inputmethod/include/inputmethod_types_capi.h b/inputmethod/include/inputmethod_types_capi.h index 0fc88c45514054cb20d41bcc77506692d228bc60..05dc2d9a1de8fc79a82c3ae29ee2650b96804bcb 100644 --- a/inputmethod/include/inputmethod_types_capi.h +++ b/inputmethod/include/inputmethod_types_capi.h @@ -215,6 +215,10 @@ typedef enum InputMethod_TextInputType { * The text input type is NUMBER DECIMAL. */ IME_TEXT_INPUT_TYPE_NUMBER_DECIMAL = 12, + /** + * The text input type is ONE_TIME_CODE. + */ + IME_TEXT_INPUT_TYPE_ONE_TIME_CODE = 13, } InputMethod_TextInputType; /**