ServiceSearchDelegate

@objc public protocol ServiceSearchDelegate: class

This protocol defines the methods for ServiceSearch discovery

  • 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

  • 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

  • The ServiceSearch will call this delegate method after stopping the search

    Declaration

    Swift

    @objc optional func onStop()
  • The ServiceSearch will call this delegate method after the search has started

    Declaration

    Swift

    @objc optional func onStart()
  • If BLE device is found

    Declaration

    Swift

    @objc optional func onFoundOnlyBLE(_ NameOfTV: String)

    Parameters

    NameOfTV

    Name of TV found on Bluetooth

  • Find other network (other than BLE)

    Declaration

    Swift

    @objc optional func onFoundOtherNetwork(_ NameOfTV: String)

    Parameters

    NameOfTV

    Name of TV found on Network