Back to project page tapad-android-sdk.
The source code is released under:
MIT License
If you think the Android project tapad-android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.tapad.tracking; /* w w w . ja va 2 s.c o m*/ /** * Implementation of the tracking service. */ class TrackingServiceImpl implements TrackingService { private EventDispatcher dispatcher; protected TrackingServiceImpl(EventDispatcher dispatcher) { this.dispatcher = dispatcher; } public void onEvent(String eventId) { dispatcher.dispatch(new Event(eventId)); } public void onEvent(String eventId, String extraParameters) { dispatcher.dispatch(new Event(eventId, extraParameters)); } }