共用方式為


BroadcastReceiverAttribute.Enabled Property

Definition

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

public bool Enabled { get; set; }
member this.Enabled : bool with get, set

Property Value

A Boolean specifying whether or not the receiver can be instantiated by the system.

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.

Applies to