BeCo
@objc
public class BeCo : NSObject, BENotificationPublisher
BeCo is a singleton class which interacts as the base interface. You can fetch your BeCo instance using function sharedInstance().
Version
1.0Copyright
Copyright © 2019 GlobeCo Technologies Pvt Ltd. All rights reserved.-
Undocumented
Declaration
Swift
public weak var delegate: BeCoDelegate?
-
Undocumented
Declaration
Swift
public var beCoSDKSession: BESDKSession?
-
func sharedInstance:
Declaration
Swift
@objc public class func sharedInstance() -> BeCo
Return Value
BeCo signleton object
-
func configure:
- Framework initialization and configuring
- Configure a BeCoApp shared instance, typically in your app’s application:didFinishLaunchingWithOptions: method. This will validate the token.
Declaration
Swift
@objc public func configure(token: String)
Parameters
token
Your beCo map key
-
func getSiteDetails:
- Fetch BESites arount location: CLLocation
To do
- Set location on API Call
Declaration
Swift
@objc public func getSiteDetails(around location: CLLocation)
Parameters
location
Your beCo map key