How to get the name of app in use while screen sharing with ReplayKit

I would like to know if there is a way in iOS to get information on what app is on screen while screen sharing with ReplayKit.

Does the iOS SDK provide a function to retrieve the name of the app on screen while screen sharing with ReplayKit? If yes, what class and method provide the function?