diff --git a/arkui/ace_engine/native/native_type.h b/arkui/ace_engine/native/native_type.h index e05d40ec201f491f0ea2b5ec66e5b4c47debb0a6..e8fed5fd86a70f59931551d9ca22d7f3c3703c2b 100644 --- a/arkui/ace_engine/native/native_type.h +++ b/arkui/ace_engine/native/native_type.h @@ -423,6 +423,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 b3848f15f6d779339a57b65296ac86d34a726394..d2d26712841cf54320c05db2867b071fcbaad2a5 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; /**