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」 標記靜態註冊接收者相同的行為

android.content.Context.RECEIVER_EXPORTED JAVA 檔。

此頁面的部分是根據所建立和共用的工作進行修改,並根據 2.5 屬性授權中所述的詞彙來使用。

適用於