语言

Choreographer.PostFrameCallback(Choreographer+IFrameCallback) 方法

定义

发布帧回调以在下一帧上运行。

[Android.Runtime.Register("postFrameCallback", "(Landroid/view/Choreographer$FrameCallback;)V", "")]
public void PostFrameCallback(Android.Views.Choreographer.IFrameCallback? callback);
[<Android.Runtime.Register("postFrameCallback", "(Landroid/view/Choreographer$FrameCallback;)V", "")>]
member this.PostFrameCallback : Android.Views.Choreographer.IFrameCallback -> unit

参数

callback
Choreographer.IFrameCallback

在下一帧期间运行的帧回调。

属性

注解

Java文档android.view.Choreographer.postFrameCallback(android.view.Choreographer.FrameCallback)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

另请参阅

  • <xref:Android.Views.Choreographer.PostFrameCallbackDelayed(.IFrameCallback%2c+System.Int64)>
  • <xref:Android.Views.Choreographer.RemoveFrameCallback(.IFrameCallback)>