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
optional func onServiceFound(service: Service)Parameters
serviceThe found service
-
The ServiceSearch will call this delegate method when a service is lost
Declaration
Swift
optional func onServiceLost(service: Service)Parameters
serviceThe lost service
-
The ServiceSearch will call this delegate method after stopping the search
Declaration
Swift
optional func onStop() -
The ServiceSearch will call this delegate method after the search has started
Declaration
Swift
optional func onStart() -
If BLE device is found
Declaration
Swift
optional func onFoundOnlyBLE(NameOfTV: String)Parameters
NameOfTVName of TV found on Bluetooth
-
Find other network (other than BLE)
Declaration
Swift
optional func onFoundOtherNetwork(NameOfTV: String)Parameters
NameOfTVName of TV found on Network
ServiceSearchDelegate Protocol Reference