Activity.Immersive Property

Definition

Bit indicating that this activity is "immersive" and should not be interrupted by notifications if possible. -or- Adjust the current immersive mode setting.

public virtual bool Immersive { [Android.Runtime.Register("isImmersive", "()Z", "GetIsImmersiveHandler")] get; [Android.Runtime.Register("setImmersive", "(Z)V", "GetSetImmersive_ZHandler")] set; }
[<get: Android.Runtime.Register("isImmersive", "()Z", "GetIsImmersiveHandler")>]
[<set: Android.Runtime.Register("setImmersive", "(Z)V", "GetSetImmersive_ZHandler")>]
member this.Immersive : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Bit indicating that this activity is "immersive" and should not be interrupted by notifications if possible.

This value is initially set by the manifest property android:immersive but may be changed at runtime by #setImmersive.

Java documentation for android.app.Activity.isImmersive().

Property setter documentation:

Adjust the current immersive mode setting.

Note that changing this value will have no effect on the activity's android.content.pm.ActivityInfo structure; that is, if android:immersive is set to true in the application's manifest entry for this activity, the android.content.pm.ActivityInfo#flags ActivityInfo.flags member will always have its android.content.pm.ActivityInfo#FLAG_IMMERSIVE FLAG_IMMERSIVE bit set.

Java documentation for android.app.Activity.setImmersive(boolean).

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

See also