requestToBecomeSystemPrimary()
Requests to make this session the system primary media session.
Declaration
@MainActor func requestToBecomeSystemPrimary() async throwsMentioned in
Discussion
Use this method to request that the system display this session prominently on the Lock Screen and in Control Center.
Your app’s primary session should match what your app is prominently displaying to the user in your interface.
For example, if your app has two playing sessions and the user has indicated they want to focus on one of those sessions, call requestToBecomeSystemPrimary on that session.