次の方法で共有


Context.ReceiverExported Field

Definition

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 can receive broadcasts from other Apps.

[Android.Runtime.Register("RECEIVER_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 ReceiverExported = 2;
[<Android.Runtime.Register("RECEIVER_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 ReceiverExported : Android.Content.ReceiverFlags

Field Value

Value = 2
Attributes

Remarks

Flag for #registerReceiver: The receiver can receive broadcasts from other Apps. Has the same behavior as marking a statically registered receiver with "exported=true"

Java documentation for android.content.Context.RECEIVER_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.

Applies to