Service Manager
class ServiceManager
Content copied to clipboard
Author
BluedotInnovation Service manager is used to interact with Bluedot Point Service
Functions
addBlueDotPointServiceStatusListener
Link copied to clipboard
open fun addBlueDotPointServiceStatusListener(listener: ServiceStatusListener)
Content copied to clipboard
getInstallRef
Link copied to clipboard
Returns the installation reference of this Point SDK enabled App.This is the same as the Install Ref that appears in a Zone's Activity Log in Canvas, or queried via Open API.This reference is randomly generated at the first run-time of the App and remains fixed for the duration of the Appinstallation.
getSdkVersion
Link copied to clipboard
getTestInstance
Link copied to clipboard
getZonesAndFences
Link copied to clipboard
initialize
Link copied to clipboard
open fun initialize(projectId: String, initializationResultListener: InitializationResultListener)
Content copied to clipboard
open fun initialize(projectId: String, url: String, initializationResultListener: InitializationResultListener)
Content copied to clipboard
isBlueDotPointServiceConfiguredToRestart
Link copied to clipboard
isBlueDotPointServiceRunning
Link copied to clipboard
isBluedotServiceInitialized
Link copied to clipboard
isZoneDisabledByApplication
Link copied to clipboard
notifyPushUpdate
Link copied to clipboard
registerService
Link copied to clipboard
removeBlueDotPointServiceStatusListener
Link copied to clipboard
open fun removeBlueDotPointServiceStatusListener(listener: ServiceStatusListener)
Content copied to clipboard
reset
Link copied to clipboard
sendAuthenticationRequest
Link copied to clipboard
open fun sendAuthenticationRequest(apiKey: String, listener: ServiceStatusListener)
Content copied to clipboard
open fun sendAuthenticationRequest(apiKey: String, listener: ServiceStatusListener, restartMode: Boolean)
Content copied to clipboard
open fun sendAuthenticationRequest(apiKey: String, listener: ServiceStatusListener, url: String)
Content copied to clipboard
open fun sendAuthenticationRequest(apiKey: String, listener: ServiceStatusListener, restartMode: Boolean, url: String)
Content copied to clipboard
setCustomEventMetaData
Link copied to clipboard
open fun setCustomEventMetaData(customEventMetaData: Map<String, String>)
Content copied to clipboard
setCustomMessageAction
Link copied to clipboard
setForegroundServiceNotification
Link copied to clipboard
open fun setForegroundServiceNotification(notification: Notification, targetAllAPIs: Boolean)
Content copied to clipboard
open fun setForegroundServiceNotification(smallIconId: Int, title: String, text: String, pendingIntent: PendingIntent, targetAllAPIs: Boolean)
Content copied to clipboard
setNotificationIDResourceID
Link copied to clipboard
setZoneDisableByApplication
Link copied to clipboard
startTempoTracking
Link copied to clipboard
open fun startTempoTracking(destinationId: String, statusListener: TempoStatusListener)
Content copied to clipboard
stopPointService
Link copied to clipboard
stopTempoTracking
Link copied to clipboard
open fun stopTempoTracking()
Content copied to clipboard
Stop Tempo Tracking tempoStopped will be called once tracking has ceased.
subscribeForApplicationNotification
Link copied to clipboard
open fun subscribeForApplicationNotification(applicationNotificationListener: ApplicationNotificationListener)
Content copied to clipboard
unsubscribeForApplicationNotification
Link copied to clipboard
open fun unsubscribeForApplicationNotification(applicationNotificationListener: ApplicationNotificationListener)
Content copied to clipboard
Properties
instance
Link copied to clipboard