Context.ReceiverExported 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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”标记静态注册的接收方的行为相同
的 android.content.Context.RECEIVER_EXPORTED
Java 文档。
此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。