本文整理汇总了Java中com.evernote.android.job.util.support.PersistableBundleCompat.getInt方法的典型用法代码示例。如果您正苦于以下问题:Java PersistableBundleCompat.getInt方法的具体用法?Java PersistableBundleCompat.getInt怎么用?Java PersistableBundleCompat.getInt使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.evernote.android.job.util.support.PersistableBundleCompat
的用法示例。
在下文中一共展示了PersistableBundleCompat.getInt方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onRunJob
import com.evernote.android.job.util.support.PersistableBundleCompat; //导入方法依赖的package包/类
@NonNull
@Override
protected Result onRunJob(Params params) {
context = getContext();
PersistableBundleCompat extras = params.getExtras();
int appWidgetId = extras.getInt("appWidgetId", 0);
LaunchCardCompactManager launchCardCompactManager = new LaunchCardCompactManager(context);
launchCardCompactManager.updateAppWidget(appWidgetId);
return Result.SUCCESS;
}
示例2: onRunJob
import com.evernote.android.job.util.support.PersistableBundleCompat; //导入方法依赖的package包/类
@NonNull
@Override
protected Result onRunJob(Params params) {
context = getContext();
PersistableBundleCompat extras = params.getExtras();
int appWidgetId = extras.getInt("appWidgetId", 0);
LaunchWordTimerManager launchWordTimerManager = new LaunchWordTimerManager(context);
launchWordTimerManager.updateAppWidget(appWidgetId);
return Result.SUCCESS;
}
示例3: onRunJob
import com.evernote.android.job.util.support.PersistableBundleCompat; //导入方法依赖的package包/类
@NonNull
@Override
protected Job.Result onRunJob(Job.Params params) {
context = getContext();
PersistableBundleCompat extras = params.getExtras();
int appWidgetId = extras.getInt("appWidgetId", 0);
LaunchListManager launchListManager = new LaunchListManager(context);
launchListManager.updateAppWidget(appWidgetId);
return Job.Result.SUCCESS;
}