SearchUI
public protocol SearchUI : ConnectUIElement
User interface to present device search results to the user.
Objects conforming to this protocol are vended by the ConnectUI
instance.
-
Used to report user interface events back to the caller
Declaration
Swift
var searchDelegate: SearchUIDelegate? { get set }
-
Creates a new search UI element.
Declaration
Swift
static func create() -> Self
-
Add the specified device with the specified state to the user interface.
Declaration
Swift
func add(device: DiscoveredDevice, state: DeviceState)
-
Update the specified device to show the specified state in the user interface.
Declaration
Swift
func update(device: DiscoveredDevice, state: DeviceState)
-
Remove the specified device from the user interface.
Declaration
Swift
func remove(device: DiscoveredDevice)
-
Remove all devices from the user interface.
Declaration
Swift
func removeAllDevices()