IWindowInsetsAnimationControlListener 接口

定义

封装对 WindowInsetsController#controlWindowInsetsAnimation的请求的侦听器。

[Android.Runtime.Register("android/view/WindowInsetsAnimationControlListener", "", "Android.Views.IWindowInsetsAnimationControlListenerInvoker", ApiSince=30)]
public interface IWindowInsetsAnimationControlListener : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/view/WindowInsetsAnimationControlListener", "", "Android.Views.IWindowInsetsAnimationControlListenerInvoker", ApiSince=30)>]
type IWindowInsetsAnimationControlListener = interface
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
属性
实现

注解

封装对 WindowInsetsController#controlWindowInsetsAnimation的请求的侦听器。

可以使用提供的 WindowInsetsAnimationController 控制 #onReady ,直到 #onFinished#onCancelled

完成或取消对插入项的控制后,在提出新的请求之前,不会重新获得该控件 WindowInsetsController#controlWindowInsetsAnimation

控制插页的请求可能会立即失败。 在这种情况下 #onCancelled ,将调用没有前面的 #onReady

android.view.WindowInsetsAnimationControlListenerJava 文档。

此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。

属性

Handle

获取基础 Android 对象的 JNI 值。

(继承自 IJavaObject)
JniIdentityHashCode

返回包装实例的 的值 java.lang.System.identityHashCode()

(继承自 IJavaPeerable)
JniManagedPeerState

托管对等方的状态。

(继承自 IJavaPeerable)
JniPeerMembers

成员访问和调用支持。

(继承自 IJavaPeerable)
PeerReference

返回 JniObjectReference 包装的 Java 对象实例的 。

(继承自 IJavaPeerable)

方法

Disposed()

释放实例时调用。

(继承自 IJavaPeerable)
DisposeUnlessReferenced()

如果没有对此实例的未完成引用,则调用 Dispose();否则,不执行任何操作。

(继承自 IJavaPeerable)
Finalized()

在实例完成时调用。

(继承自 IJavaPeerable)
OnCancelled(IWindowInsetsAnimationController)

如果已调用与 关联的 WindowInsetsController#controlWindowInsetsAnimation requestandroid.os.CancellationSignal或者窗口已失去对插入项的控制 (e,取消了对插入项的控制请求时调用。

OnFinished(IWindowInsetsAnimationController)

当对内插的控制权请求具有 WindowInsetsAnimationController#finish finished时调用。

OnReady(IWindowInsetsAnimationController, Int32)

当动画准备好进行控制时调用。

SetJniIdentityHashCode(Int32)

设置 返回 JniIdentityHashCode的值。

(继承自 IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates)

封装对 WindowInsetsController#controlWindowInsetsAnimation的请求的侦听器。

(继承自 IJavaPeerable)
SetPeerReference(JniObjectReference)

设置 返回 PeerReference的值。

(继承自 IJavaPeerable)
UnregisterFromRuntime()

取消注册此实例,以便运行时不会从将来 Java.Interop.JniRuntime+JniValueManager.PeekValue 的调用中返回它。

(继承自 IJavaPeerable)

扩展方法

JavaCast<TResult>(IJavaObject)

执行 Android 运行时检查的类型转换。

JavaCast<TResult>(IJavaObject)

封装对 WindowInsetsController#controlWindowInsetsAnimation的请求的侦听器。

GetJniTypeName(IJavaPeerable)

封装对 WindowInsetsController#controlWindowInsetsAnimation的请求的侦听器。

适用于