Context.ReceiverNotExported Field
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.
Caution
This constant will be removed in the future version. Use Android.Content.ReceiverFlags enum directly instead of this field.
Flag for #registerReceiver
: The receiver cannot receive broadcasts from other Apps.
[Android.Runtime.Register("RECEIVER_NOT_EXPORTED", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.ReceiverFlags enum directly instead of this field.", true)]
public const Android.Content.ReceiverFlags ReceiverNotExported = 4;
[<Android.Runtime.Register("RECEIVER_NOT_EXPORTED", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.ReceiverFlags enum directly instead of this field.", true)>]
val mutable ReceiverNotExported : Android.Content.ReceiverFlags
Field Value
Value = 4- Attributes
Remarks
Flag for #registerReceiver
: The receiver cannot receive broadcasts from other Apps. Has the same behavior as marking a statically registered receiver with "exported=false"
Java documentation for android.content.Context.RECEIVER_NOT_EXPORTED
.
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.