Android Point SDK  1.13.3
au.com.bluedot.point.ServiceStatusListener Interface Reference

ServiceStatusListener is listener that lets user's Bluedot application know when service status changes. More...

Public Member Functions

void onBlueDotPointServiceStartedSuccess ()
 
void onBlueDotPointServiceStop ()
 
void onBlueDotPointServiceError (BDError error)
 
void onRuleUpdate (List< ZoneInfo > zoneInfoList)
 

Detailed Description

ServiceStatusListener is listener that lets user's Bluedot application know when service status changes.

Author
BluedotInnovation

Member Function Documentation

◆ onBlueDotPointServiceError()

void au.com.bluedot.point.ServiceStatusListener.onBlueDotPointServiceError ( BDError  error)

The method delivers the error from BlueDotPointService by a generic BDError. There are several types of error such as

The BDError.isFatal() indicates if error is fatal and service is not operable. Followed by onBlueDotPointServiceStop() indicating service is stopped.

The BDError.getReason() is useful to analyse error cause.

Parameters
error

◆ onBlueDotPointServiceStartedSuccess()

void au.com.bluedot.point.ServiceStatusListener.onBlueDotPointServiceStartedSuccess ( )

It is called when BlueDotPointService started successful, application logic code using the Bluedot service could start from here.

This method is off the UI thread.

◆ onBlueDotPointServiceStop()

void au.com.bluedot.point.ServiceStatusListener.onBlueDotPointServiceStop ( )

This method notifies the client application that BlueDotPointService is stopped. Application could release the resources related to Bluedot service from here.

It is called off the UI thread.

◆ onRuleUpdate()

void au.com.bluedot.point.ServiceStatusListener.onRuleUpdate ( List< ZoneInfo zoneInfoList)

The method deliveries the ZoneInfo list when the rules are updated. Application is able to get the latest ZoneInfo when the rules are updated.

Parameters
zoneInfoList

The documentation for this interface was generated from the following file: