Läs på engelska

Dela via


Intent.FlagReceiverVisibleToInstantApps Field

Definition

Caution

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

If set, the broadcast will be visible to receivers in Instant Apps.

C#
[Android.Runtime.Register("FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS", ApiSince=26)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.ActivityFlags enum directly instead of this field.", true)]
public const Android.Content.ActivityFlags FlagReceiverVisibleToInstantApps = 2097152;

Field Value

Value = 2097152

Implements

Attributes

Remarks

If set, the broadcast will be visible to receivers in Instant Apps. By default Instant Apps will not receive broadcasts.

<em>This flag has no effect when used by an Instant App.</em>

Java documentation for android.content.Intent.FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS.

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

Produkt Versioner (Föråldrad)
.NET for Android (.NET for Android API 34, .NET for Android API 35)