StrictMode.VmPolicy.Builder.DetectBlockedBackgroundActivityLaunch Method

Definition

Detects when your app is blocked from launching a background activity or a PendingIntent created by your app cannot be launched.

[Android.Runtime.Register("detectBlockedBackgroundActivityLaunch", "()Landroid/os/StrictMode$VmPolicy$Builder;", "", ApiSince=36)]
public Android.OS.StrictMode.VmPolicy.Builder DetectBlockedBackgroundActivityLaunch();
[<Android.Runtime.Register("detectBlockedBackgroundActivityLaunch", "()Landroid/os/StrictMode$VmPolicy$Builder;", "", ApiSince=36)>]
member this.DetectBlockedBackgroundActivityLaunch : unit -> Android.OS.StrictMode.VmPolicy.Builder

Returns

The requested value.

Attributes

Remarks

Detects when your app is blocked from launching a background activity or a PendingIntent created by your app cannot be launched.

Java documentation for android.os.StrictMode.VmPolicy.Builder.detectBlockedBackgroundActivityLaunch().

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