Binder.FlushPendingCommands 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将当前线程中挂起的任何 Binder 命令刷新到内核驱动程序。
[Android.Runtime.Register("flushPendingCommands", "()V", "")]
public static void FlushPendingCommands();
[<Android.Runtime.Register("flushPendingCommands", "()V", "")>]
static member FlushPendingCommands : unit -> unit
- 特性
注解
将当前线程中挂起的任何 Binder 命令刷新到内核驱动程序。 在执行长时间可能阻止的操作之前,这非常有用,以确保释放了任何挂起的对象引用,以防止进程保留的时间超过它所需的对象。
Java文档android.os.Binder.flushPendingCommands()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。