AppMeasurementEventLogger

public class AppMeasurementEventLogger extends Object
implements EventLogger

Firebase Analytics offers an api through AppMeasurement that can log to firebase with a scope on the logged event. Use this to log all fabric events with a "fab" modifier.

Public Constructor Summary

AppMeasurementEventLogger(Object logEventInstance, Method logEventMethod)

Public Method Summary

static EventLogger
getEventLogger(Context context)
void
logEvent(String eventName, Bundle metadata)
void
logEvent(String origin, String eventName, Bundle metadata)

Inherited Method Summary

Public Constructors

public AppMeasurementEventLogger (Object logEventInstance, Method logEventMethod)

Parameters
logEventInstance
logEventMethod

Public Methods

public static EventLogger getEventLogger (Context context)

Parameters
context

public void logEvent (String eventName, Bundle metadata)

Parameters
eventName
metadata

public void logEvent (String origin, String eventName, Bundle metadata)

Parameters
origin
eventName
metadata