android.content.Context.sendOrderedBroadcastAsUser()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(236)

本文整理了Java中android.content.Context.sendOrderedBroadcastAsUser()方法的一些代码示例,展示了Context.sendOrderedBroadcastAsUser()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Context.sendOrderedBroadcastAsUser()方法的具体详情如下:
包路径:android.content.Context
类名称:Context
方法名:sendOrderedBroadcastAsUser

Context.sendOrderedBroadcastAsUser介绍

暂无

代码示例

代码示例来源:origin: oasisfeng/condom

@RequiresApi(JELLY_BEAN_MR1) @SuppressLint("MissingPermission") @Override
public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, BroadcastReceiver resultReceiver,
                    Handler scheduler, int initialCode, String initialData, Bundle initialExtras) {
  mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, resultReceiver, scheduler, initialCode, initialData, initialExtras);
}

代码示例来源:origin: oasisfeng/condom

tests.add(new Consumer<Intent>() { @TargetApi(JELLY_BEAN_MR1) @Override public void accept(final Intent intent) { condom.sendOrderedBroadcastAsUser(intent, USER, null, null, null, 0, null, null); }});
tests.add(new Consumer<Intent>() { @TargetApi(JELLY_BEAN_MR1) @Override public void accept(final Intent intent) { condom.sendStickyOrderedBroadcastAsUser(intent, USER,null, null, 0, null, null); }});

代码示例来源:origin: Trumeet/MiPushFramework

@RequiresApi(JELLY_BEAN_MR1) @Override public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission,
    BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) {
  mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, resultReceiver, scheduler, initialCode, initialData, initialExtras);
}

相关文章

Context类方法