ServiceManager

Service manager is used to interact with Bluedot Point Service

Functions

Link copied to clipboard
Get BrainAI instance if SDK is Initialized
Link copied to clipboard
Gets custom MetaData for Notification Events.
Link copied to clipboard
open fun getInstallRef(): String
Returns the installation reference of this Point SDK enabled App.
Link copied to clipboard
Get Singleton instance of the ServiceManager.
Link copied to clipboard
open fun getSdkVersion(): String
Returns the current version of the Point SDK
Link copied to clipboard
Get Zones and Fences list.
Link copied to clipboard
open fun initialize(@NonNull projectId: String, @NonNull initializationResultListener: InitializationResultListener)
open fun initialize(@NonNull projectId: String, @NonNull url: String, @NonNull initializationResultListener: InitializationResultListener)
This method is used to initialise Bluedot PointSDK service manager with the given projectId.
Link copied to clipboard
The client checks if Bluedot Service is initialized is running.
Link copied to clipboard
Giving the zone ID to check if the zone has been disabled by your application.
Link copied to clipboard
open fun reset(@NonNull receiver: ResetResultReceiver)
This method will return service manager to the initial state: reset the project ID and all persisted data.
Link copied to clipboard
open fun setCustomEventMetaData(customEventMetaData: Map<String, String>)
Sets custom MetaData for Notification Events.
Link copied to clipboard
open fun setForegroundServiceNotification(notification: Notification, targetAllAPIs: Boolean)
Sets parameters for foreground service notification.
Link copied to clipboard
open fun setNotificationIDResourceID(resourceID: Int)
Set the Resource ID for the Notification icon
Link copied to clipboard
open fun setZoneDisableByApplication(zoneId: String, disable: Boolean)
Enable the zone by providing with the zone ID.