Contents

AVSystemRoute.LaunchMode.application

Launches the corresponding application on the remote device.

Declaration

case application

Mentioned in

Discussion

Use this mode when you want to start your app’s counterpart on the remote device, enabling app-to-application communication and custom playback experiences. The remote application can handle the provided URL and maintain bidirectional communication through the AVSystemRoute.DataChannel returned by start().

Application identifiers must be configured in the MDESupportedProtocols key in your app’s Info.plist file. For example:

<key>MDESupportedProtocols</key>
<dict>
	<key>com.example.sharingprotocol</key>
	<string>com.example.myapplicationidentifier</string>
</dict>