Is it possible to register the auto otp reading as an event in Swift?

We all know that post iOS 12, sms is automatically read by the textContentType = .oneTimeCode. However, we cannot recognise when it does that ( reading the otp from the sms)

Is there any possibility of recognising the aforementioned state ( when the otp is read from the sms ) in any methods of the UITextField? There is a requirement where we need to save this as an event in an Event Tracking tool.

Is it possible to register the auto otp reading as an event in Swift?
 
 
Q