DeviceSearchMode

@available(*, deprecated, message: "DeviceSearchMode has been replaced by ConnectUIMode.")
@frozen
public enum DeviceSearchMode

Indicates the mode of operation for the device search.

  • Always present a view controller to the user, allowing the user to select a device.

    Declaration

    Swift

    case alwaysShowUI
  • If the most-recently connected device is found before timeout elapses, this device is automatically selected. If no connected device is found before timeout elapses, the DeviceSearchTask will present user interface allowing the user to select a device.

    Note that if the most-recently connected device is found after the user interface has been shown, it will not be automatically selected.

    Declaration

    Swift

    case automaticallySelectMostRecentlyConnectedDevice(timeout: TimeInterval)