本文整理匯總了Java中com.facebook.AppEventsLogger.deactivateApp方法的典型用法代碼示例。如果您正苦於以下問題:Java AppEventsLogger.deactivateApp方法的具體用法?Java AppEventsLogger.deactivateApp怎麽用?Java AppEventsLogger.deactivateApp使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類com.facebook.AppEventsLogger
的用法示例。
在下文中一共展示了AppEventsLogger.deactivateApp方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: onPause
import com.facebook.AppEventsLogger; //導入方法依賴的package包/類
@Override
public void onPause() {
map.setMyLocationEnabled(false);
map.setLocationSource(null);
locMgr.removeUpdates(this);
if(alert != null) { alert.dismiss(); }
// Logs 'app deactivate' App Event.
AppEventsLogger.deactivateApp(this);
super.onPause();
uiHelper.onPause();
}
示例2: onPause
import com.facebook.AppEventsLogger; //導入方法依賴的package包/類
@Override
protected void onPause() {
super.onPause();
unregisterReceiver(mReceiver);
uiHelper.onPause();
// Logs 'app deactivate' App Event.
AppEventsLogger.deactivateApp(this);
}
示例3: onPause
import com.facebook.AppEventsLogger; //導入方法依賴的package包/類
@Override
protected void onPause() {
super.onPause();
// Logs 'app deactivate' App Event.
AppEventsLogger.deactivateApp(this);
}
示例4: onPause
import com.facebook.AppEventsLogger; //導入方法依賴的package包/類
@Override
public void onPause() {
super.onPause();
uiHelper.onPause();
isResumed = false;
// Call the 'deactivateApp' method to log an app event for use in analytics and advertising
// reporting. Do so in the onPause methods of the primary Activities that an app may be launched into.
AppEventsLogger.deactivateApp(this);
}
示例5: onPause
import com.facebook.AppEventsLogger; //導入方法依賴的package包/類
@Override
protected void onPause(){
super.onPause();
Log.d(TAG, "Called onPause");
// Logs 'app deactivate' App Event. Facebook
AppEventsLogger.deactivateApp(this);
}
示例6: onPause
import com.facebook.AppEventsLogger; //導入方法依賴的package包/類
@Override
protected void onPause() {
super.onPause();
// Logs 'app deactivate' App Event
AppEventsLogger.deactivateApp(this);
Log.d(TAG, "App paused");
}
示例7: onPause
import com.facebook.AppEventsLogger; //導入方法依賴的package包/類
@Override
protected void onPause() {
super.onPause();
AppEventsLogger.deactivateApp(this);
}
示例8: onPause
import com.facebook.AppEventsLogger; //導入方法依賴的package包/類
@Override
protected void onPause(){
super.onPause();
handler.removeCallbacks(r);
AppEventsLogger.deactivateApp(this);
}