ReceiverFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies registration options for a context-registered broadcast receiver.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum ReceiverFlags
[<System.Flags>]
type ReceiverFlags =
- Inheritance
-
ReceiverFlags
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| VisibleToInstantApps | 1 | Flag for registerReceiver(BroadcastReceiver, IntentFilter) : The receiver can receive broadcasts from Instant Apps. |
| Exported | 2 | Flag for registerReceiver(BroadcastReceiver, IntentFilter) : The receiver can receive broadcasts from other Apps. Has the same behavior as marking a statically registered receiver with "exported=true" |
| NotExported | 4 | Flag for registerReceiver(BroadcastReceiver, IntentFilter) : The receiver cannot receive broadcasts from other Apps. Has the same behavior as marking a statically registered receiver with "exported=false" |
Remarks
Specifies registration options for a context-registered broadcast receiver.
Java documentation for android.content.Context.
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.