BroadcastReceiverAttribute Class

Definition

Generates a /manifest/application/receiver element within 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
Inheritance
BroadcastReceiverAttribute
Attributes
Implements

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

Name Description
BroadcastReceiverAttribute()

Constructs and initializes a new BroadcastReceiverAttribute instance.

Properties

Name Description
Description

Gets or sets the description declared for the Android component.

DirectBootAware

Gets or sets whether the Android component can run before the user unlocks the device.

Enabled

Whether or not the receiver can be instantiated by the system.

Exported

Whether or not the receiver can be launched by components of other applications.

Icon

An icon representing the receiver.

Label

A user-readable label for the receiver.

Name

The name of the class that implements the receiver.

Permission

The name of a permission that clients must have to launch the receiver.

Process

The name of the process in which the receiver should run.

RoundIcon

Gets or sets the round icon declared for the Android component.

Explicit Interface Implementations

Name Description
IJniNameProviderAttribute.Name

Applies to

See also