本文整理汇总了Java中com.facebook.appevents.AppEventsLogger.deactivateApp方法的典型用法代码示例。如果您正苦于以下问题:Java AppEventsLogger.deactivateApp方法的具体用法?Java AppEventsLogger.deactivateApp怎么用?Java AppEventsLogger.deactivateApp使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.facebook.appevents.AppEventsLogger
的用法示例。
在下文中一共展示了AppEventsLogger.deactivateApp方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onPause
import com.facebook.appevents.AppEventsLogger; //导入方法依赖的package包/类
@Override
protected void onPause() {
super.onPause();
// Logs 'app deactivate' App Event.
AppEventsLogger.deactivateApp(this);
}
示例2: onPause
import com.facebook.appevents.AppEventsLogger; //导入方法依赖的package包/类
@Override
protected void onPause() {
super.onPause();
// FB base events logging
AppEventsLogger.deactivateApp(this);
MyApplication.getInstance().cancelPendingRequests(CONST.MAIN_ACTIVITY_REQUESTS_TAG);
// GCM registration
LocalBroadcastManager.getInstance(this).unregisterReceiver(mRegistrationBroadcastReceiver);
}
示例3: onPause
import com.facebook.appevents.AppEventsLogger; //导入方法依赖的package包/类
@Override
protected void onPause() {
super.onPause();
if (FacebookSdk.getApplicationId() != null) {
AppEventsLogger.deactivateApp(this);
}
}
示例4: onPause
import com.facebook.appevents.AppEventsLogger; //导入方法依赖的package包/类
public void onPause() {
AppEventsLogger.deactivateApp(activity);
}
示例5: onPause
import com.facebook.appevents.AppEventsLogger; //导入方法依赖的package包/类
@Override
protected void onPause() {
super.onPause();
AppEventsLogger.deactivateApp(this);
}
示例6: onPause
import com.facebook.appevents.AppEventsLogger; //导入方法依赖的package包/类
@Override
protected void onPause() {
super.onPause();
AppEventsLogger.deactivateApp(this);
}
示例7: onActivityPaused
import com.facebook.appevents.AppEventsLogger; //导入方法依赖的package包/类
@Override
public void onActivityPaused(final @NonNull Activity activity) {
// Facebook: logs 'app deactivate' App Event.
AppEventsLogger.deactivateApp(activity);
}
示例8: onPause
import com.facebook.appevents.AppEventsLogger; //导入方法依赖的package包/类
@Override
protected void onPause() {
super.onPause();
// Logs 'app deactivate' App Event.
AppEventsLogger.deactivateApp(this);
}