"Now Playing" remote control - sending NSUserActivity?

Is there a NSUserActivity which can be observed using .onContinueUserActivitywhen my media playback app is brought back to the foreground due to the user tapping on the artwork of the remote control? (Yes, I'm using SwiftUI and the iOS 14 app lifecycle.)

I want to ensure that I refresh my UI to show the corresponding media item in full screen. But I don't want that to happen if the user simply is coming back to my app after browsing or writing an email.

Is there a solution? Perhaps some AppDelegate stuff?

"Now Playing" remote control - sending NSUserActivity?
 
 
Q