ipadOS with an external keyboard

Is it possible for an ipadOS app running in the background to receive the key down/up event from an external keyboard?

ipadOS with an external keyboard
 
 
Q