IPProximityViewControllerDelegate
@objc
public protocol IPProximityViewControllerDelegate
Protocol for the proximity view controller
-
Called when proximity has been detected.
Declaration
Swift
func didDetectProximity(code: String, rssi: Int, desktop: String)
Parameters
code
The detected proximity code
rssi
The signal strength
desktop
Identifier of the detected device.
-
Operation was cancelled
Declaration
Swift
func didCancelProximityDetection()
-
Operation failed
Declaration
Swift
func didFailDetectProximity(error: Error?)