Does XCUITest type text function send a keyboard input?

Does the XCUITest typetext function actually send a keyboard event through the iOS keyboard or does it simple copy the value provided to it directly into the text box?

I tried to send in Chinese through the typeText Function while the keyboard was of English type, the text box was populated correctly with Chinese characters. But this according to me shows that the typeText function just copies the text given to it to the text box and does not send a keyboard event.

Is my understanding correct?

Does XCUITest type text function send a keyboard input?
 
 
Q