Contents

stopDiscovery(session:)

Ends the extension’s device discovery process.

Declaration

func stopDiscovery(session: DDDiscoverySession)

Parameters

  • session:

    An object that reports discovery events.

Discussion

The system controls the discovery process using this function by calling it when AVRoutePickerView dismisses. Your extension’s implementation performs any cleanup necessary, such as stopping Bluetooth or Bonjour scanning.

See Also

Controlling discovery