Skip to main content

AnalyticsListener

public interface AnalyticsListener extends EventListener

An AnalyticsListener is an interface that can be used to retrieve the analytics gathered by the QUANTEEC plugin. Once created, an AnalyticsListener can be registered inside a QuanteecCore instance by using the function registerAnalyticsListener

Summary

Public methods

voidonQuanteecAnalytics(PlayerMetrics args)

Public methods

onQuanteecAnalytics()

public void onQuanteecAnalytics(PlayerMetrics args)

This function is called every time the QUANTEEC plugin gathers its analytics and sends them to the analytics server. PlayerMetrics is an object containing all the analytics gathered by the plugin since the last call of this method.

NameTypeDescription
argsPlayerMetricsAn object containing all the analytics gathered by the plugin since the last call of this method