summaryrefslogtreecommitdiffstats
path: root/src/com/android/calendar/AnalyticsLogger.java
blob: c98984f2ee80616eb61545a1bf175adf29d496cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.android.calendar;

import android.content.Context;

/**
 * Interface for analytics logging.
 */
public interface AnalyticsLogger {

    /**
     * Open backend of logger.
     *
     * @param context need to open backend of logger.
     * @return true, if analytics logging is ready to be use.
     */
    public boolean initialize(Context context);

    /**
     * Track what view people are using.
     *
     * @param name of the view.
     */
    public void trackView(String name);
}