becomeActiveIfPossible(completion:)
Tells the system to make the session the active Now Playing session if possible.
Declaration
func becomeActiveIfPossible(completion: (@Sendable (Bool) -> Void)? = nil)func becomeActiveIfPossible() async -> BoolParameters
- completion:
The completion handler the system calls after it processes the request.