语言

WindowInsetsAnimation.Callback 构造函数

定义

重载

名称 说明
WindowInsetsAnimation.Callback(Int32)

使用给定WindowInsetsAnimation的回调创建新#getDispatchMode() dispatch mode回调。

WindowInsetsAnimation.Callback(IntPtr, JniHandleOwnership)

为现有的 Java Native Interface 对象引用创建托管对等。

WindowInsetsAnimation.Callback(Int32)

使用给定WindowInsetsAnimation的回调创建新#getDispatchMode() dispatch mode回调。

[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=30)]
public Callback(int dispatchMode);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=30)>]
new Android.Views.WindowInsetsAnimation.Callback : int -> Android.Views.WindowInsetsAnimation.Callback

参数

dispatchMode
Int32

此回调的调度模式。 请参阅 #getDispatchMode()。

特性

注解

使用给定WindowInsetsAnimation的回调创建新#getDispatchMode() dispatch mode回调。

Java文档android.view.WindowInsetsAnimation.Callback.Callback(int)。

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

适用于

WindowInsetsAnimation.Callback(IntPtr, JniHandleOwnership)

为现有的 Java Native Interface 对象引用创建托管对等。

protected Callback(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.WindowInsetsAnimation.Callback : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.WindowInsetsAnimation.Callback

参数

javaReference
IntPtr

nativeint

对Java对象的 JNI 引用。

transfer
JniHandleOwnership

指定 JNI 引用的所有权是否传输到此实例。

注解

运行时调用此构造函数来创建现有Java对象的托管表示形式。

适用于