AnalyticsLogger.java revision 373e9dab4c22b74e0039427fd316544d93a5d318
1package com.android.calendar;
2
3import android.content.Context;
4
5/**
6 * Interface for analytics logging.
7 */
8public interface AnalyticsLogger {
9
10    /**
11     * Open backend of logger.
12     *
13     * @param context need to open backend of logger.
14     * @return true, if analytics logging is ready to be use.
15     */
16    public boolean initialize(Context context);
17
18    /**
19     * Track what view people are using.
20     *
21     * @param name of the view.
22     */
23    public void trackView(String name);
24}
25