# ServiceSearchDelegate

    @objc public protocol ServiceSearchDelegate: class

This protocol defines the methods for ServiceSearch discovery

- `onServiceFound(_:)`

  The ServiceSearch will call this delegate method when a service is found

  #### Declaration

  Swift

      @objc optional func onServiceFound(_ service: Service)

  #### Parameters

  `service` | The found service

- `onServiceLost(_:)`

  The ServiceSearch will call this delegate method when a service is lost

  #### Declaration

  Swift

      @objc optional func onServiceLost(_ service: Service)

  #### Parameters

  `service` | The lost service

- `onStop()`

  The ServiceSearch will call this delegate method after stopping the search

  #### Declaration

  Swift

      @objc optional func onStop()

- `onStart()`

  The ServiceSearch will call this delegate method after the search has started

  #### Declaration

  Swift

      @objc optional func onStart()

- `onFoundOnlyBLE(_:)`

  If BLE device is found

  #### Declaration

  Swift

      @objc optional func onFoundOnlyBLE(_ NameOfTV: String)

  #### Parameters

  `NameOfTV` | Name of TV found on Bluetooth

- `onFoundOtherNetwork(_:)`

  Find other network (other than BLE)

  #### Declaration

  Swift

      @objc optional func onFoundOtherNetwork(_ NameOfTV: String)

  #### Parameters

  `NameOfTV` | Name of TV found on Network