Udostępnij za pośrednictwem


StrictMode.VmPolicy.Builder.PenaltyListener Method

Definition

[Android.Runtime.Register("penaltyListener", "(Ljava/util/concurrent/Executor;Landroid/os/StrictMode$OnVmViolationListener;)Landroid/os/StrictMode$VmPolicy$Builder;", "", ApiSince=28)]
public Android.OS.StrictMode.VmPolicy.Builder PenaltyListener (Java.Util.Concurrent.IExecutor executor, Android.OS.StrictMode.IOnVmViolationListener listener);
[<Android.Runtime.Register("penaltyListener", "(Ljava/util/concurrent/Executor;Landroid/os/StrictMode$OnVmViolationListener;)Landroid/os/StrictMode$VmPolicy$Builder;", "", ApiSince=28)>]
member this.PenaltyListener : Java.Util.Concurrent.IExecutor * Android.OS.StrictMode.IOnVmViolationListener -> Android.OS.StrictMode.VmPolicy.Builder

Parameters

executor
IExecutor

Returns

Attributes

Applies to