# 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

      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

      optional func onServiceLost(service: Service)

  #### Parameters

  `service` | The lost service

- `onStop()`

  The ServiceSearch will call this delegate method after stopping the search

  #### Declaration

  Swift

      optional func onStop()

- `onStart()`

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

  #### Declaration

  Swift

      optional func onStart()

- `onFoundOnlyBLE(_:)`

  If BLE device is found

  #### Declaration

  Swift

      optional func onFoundOnlyBLE(NameOfTV: String)

  #### Parameters

  `NameOfTV` | Name of TV found on Bluetooth

- `onFoundOtherNetwork(_:)`

  Find other network (other than BLE)

  #### Declaration

  Swift

      optional func onFoundOtherNetwork(NameOfTV: String)

  #### Parameters

  `NameOfTV` | Name of TV found on Network

© 2016 . All rights reserved. (Last updated: 2016-10-27)

Generated by jazzy ♪♫ v0.7.2, a Realm project.