Contents

requestToBecomeApplicationPrimary()

Attempts to make this session your app’s primary media session.

Declaration

@MainActor func requestToBecomeApplicationPrimary() async throws

Mentioned in

Discussion

Use this method to signal to the system that this session supplies data and handles commands.