• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.android.calendar;
2 
3 import android.content.Context;
4 
5 /**
6  * Interface for analytics logging.
7  */
8 public 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      */
initialize(Context context)16     public boolean initialize(Context context);
17 
18     /**
19      * Track what view people are using.
20      *
21      * @param name of the view.
22      */
trackView(String name)23     public void trackView(String name);
24 }
25