语言

Context.ReceiverExported 字段

定义

注意

This constant will be removed in the future version. Use Android.Content.ReceiverFlags enum directly instead of this field.

#registerReceiver标志:接收方可以从其他应用接收广播。

[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

字段值

Value = 2
特性

注解

#registerReceiver标志:接收方可以从其他应用接收广播。 具有与使用“exported=true”标记静态注册接收器相同的行为

Java文档android.content.Context.RECEIVER_EXPORTED。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于