Udostępnij za pośrednictwem


Binder.FlushPendingCommands Method

Definition

Flush any Binder commands pending in the current thread to the kernel driver.

[Android.Runtime.Register("flushPendingCommands", "()V", "")]
public static void FlushPendingCommands ();
[<Android.Runtime.Register("flushPendingCommands", "()V", "")>]
static member FlushPendingCommands : unit -> unit
Attributes

Remarks

Flush any Binder commands pending in the current thread to the kernel driver. This can be useful to call before performing an operation that may block for a long time, to ensure that any pending object references have been released in order to prevent the process from holding on to objects longer than it needs to.

Java documentation for android.os.Binder.flushPendingCommands().

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