BroadcastReceiverAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在 /manifest/application/receiver
中 AndroidManifest.xml
生成元素。
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
[System.Serializable]
public class BroadcastReceiverAttribute : Attribute, Java.Interop.IJniNameProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
[<System.Serializable>]
type BroadcastReceiverAttribute = class
inherit Attribute
interface IJniNameProviderAttribute
- 继承
-
BroadcastReceiverAttribute
- 属性
- 实现
注解
此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。
构造函数
BroadcastReceiverAttribute() |
构造并初始化新 BroadcastReceiverAttribute 实例。 |
属性
Description |
在 |
DirectBootAware |
在 |
Enabled |
接收方是否可以由系统实例化。 |
Exported |
接收器是否可以由其他应用程序的组件启动。 |
Icon |
表示接收方的图标。 |
Label |
接收方的用户可读标签。 |
Name |
实现接收器的类的名称。 |
Permission |
客户端启动接收方必须具有的权限的名称。 |
Process |
接收方应在其中运行的进程的名称。 |
RoundIcon |
在 |