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 */ 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