Share via


BroadcastReceiverAttribute 类

定义

/manifest/application/receiverAndroidManifest.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

/manifest/application/receiverAndroidManifest.xml生成元素。

DirectBootAware

/manifest/application/receiverAndroidManifest.xml生成元素。

Enabled

接收方是否可以由系统实例化。

Exported

接收器是否可以由其他应用程序的组件启动。

Icon

表示接收方的图标。

Label

接收方的用户可读标签。

Name

实现接收器的类的名称。

Permission

客户端启动接收方必须具有的权限的名称。

Process

接收方应在其中运行的进程的名称。

RoundIcon

/manifest/application/receiverAndroidManifest.xml生成元素。

适用于

另请参阅