Are StoreKitMessages SwiftUI only?

Do i need SwiftUI to register a listener and display StoreKit messages in iOS 16? Or can it be done without SwiftUI? Maybe just Swift or even Objective-C?

What's new with in-app purchase - WWDC22 - Videos - Apple Developer https://developer.apple.com/wwdc22/10007

https://developer.apple.com/documentation/swiftui/environmentvalues/displaystorekitmessage/

Are StoreKitMessages SwiftUI only?
 
 
Q