NSKManager
Nearspeak Manager class.
-
Get the singelton object of this class.
Declaration
Swift
public class var sharedInstance: NSKManager
-
Array of all currently nearby Nearspeak tags.
Declaration
Swift
public var nearbyTags: [NSKTag]
-
The standard constructor.
Declaration
Swift
public override init()
-
Start the Nearspeak beacon discovery.
Declaration
Swift
public func startBeaconDiscovery(showUnassingedBeacons: Bool)
Parameters
showUnassingedBeacons
True if unassinged Nearspeak beacons should also be shown.
-
Stop the Nearspeak beacon discovery.
Declaration
Swift
public func stopBeaconDiscovery()
-
Get a Nearspeak tag object from the nearby beacons array.
Declaration
Swift
public func getTagAtIndex(index: Int) -> NSKTag?
Parameters
index
The index of the Nearspeak tag object.
-
Show or Hide unassigned Nearspeak tags.
Declaration
Swift
public func showUnassingedBeacons(show: Bool)
Parameters
show
True if unassinged Nearspeak beacons should als be show.
-
Delegate method which gets called, when new beacons are found.
Declaration
Swift
public func beaconManager(manager: NSKBeaconManager!, foundBeacons: [CLBeacon])