Skip to main content

Interface IPolyAnalyticsService

com.poly.polyos.analytics

Interface IPolyAnalyticsService


public interface IPolyAnalyticsService

Service that exposes analytics information about the DeviceType.PRIMARY system and room.

Since
3.0.45

Field Summary

Modifier and TypeField and Description
static longCAPABILITY_PEOPLE_COUNT
Capability flag that specifies whether the system is capable of tracking people

Method Summary

Modifier and TypeMethod and Description
AnalyticsDatagetAnalyticsData()
Returns the current AnalyticsData
longgetCapability()
Returns the analytics capability of the DeviceType.PRIMARY device
voidregisterAnalyticsListener(IPolyAnalyticsListener listener)
Registers a IPolyAnalyticsListener to get analytics updates
voidunRegisterAnalyticsListener(IPolyAnalyticsListener listener)
Unregisters an IPolyAnalyticsListener

Field Detail

CAPABILITY_PEOPLE_COUNT

static final long CAPABILITY_PEOPLE_COUNT
Capability flag that specifies whether system is capable of tracking people
See Also:
Constant Field Values

Method Detail

getCapability

long getCapability()
Returns the analytics capability of the DeviceType.PRIMARY device
See Also:
CAPABILITY_PEOPLE_COUNT

getAnalyticsData

AnalyticsData getAnalyticsData()
Returns the current AnalyticsData

registerAnalyticsListener

void registerAnalyticsListener(IPolyAnalyticsListener listener)
Registers an IPolyAnalyticsListener to get analytics updates

unRegisterAnalyticsListener

void unRegisterAnalyticsListener(IPolyAnalyticsListener listener) Unregisters an IPolyAnalyticsListener