Contents

systemRouteController(_:handle:)

Connects to, or disconnects from, a device when a user requests it in the picker.

Declaration

func systemRouteController(_ controller: AVSystemRouteController, handle event: AVSystemRouteEvent) async -> Bool

Parameters

  • controller:

    The system routing controller.

  • event:

    The routing event to handle.