STWBeaconManager

open class STWBeaconManager

STWBeaconManager

Public Class that manages all operations concerning beacon monitoring.

The main function of this class is to enable/disable beacon service, check if beacon service is allowed from backend side or if it is enabled on client side

Functions

Link copied to clipboard
open fun enableBeaconService(    @NonNull context: Context,     enabled: Boolean,     @Nullable callback: STWBeaconServiceCallback)
Call this method to enable/disable beacon service in order to start/stop beacon monitoring.
Link copied to clipboard
open fun getInstance(): STWBeaconManager
Get or create the single instance of STWBeaconManager.
Link copied to clipboard
open fun isBeaconActivated(@NonNull context: Context): Boolean
Link copied to clipboard
open fun isBeaconServiceAllowed(@NonNull context: Context): Boolean
Check whether the beacon feature is allowed from backend side or not