Share via


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.WindowInsetsAnimationControlListener JAVA 檔。

此頁面的部分是根據所建立和共用的工作進行修改,並根據 2.5 屬性授權中所述的詞彙來使用。

屬性

Handle

取得基礎 Android 物件的 JNI 值。

(繼承來源 IJavaObject)
JniIdentityHashCode

傳回已包裝實例的 值 java.lang.System.identityHashCode()

(繼承來源 IJavaPeerable)
JniManagedPeerState

Managed 對等的狀態。

(繼承來源 IJavaPeerable)
JniPeerMembers

成員存取和調用支援。

(繼承來源 IJavaPeerable)
PeerReference

JniObjectReference 回已包裝 JAVA 物件實例的 。

(繼承來源 IJavaPeerable)

方法

Disposed()

處置實例時呼叫。

(繼承來源 IJavaPeerable)
DisposeUnlessReferenced()

如果這個實例沒有未完成的參考,則呼叫 Dispose() ,否則不會執行任何動作。

(繼承來源 IJavaPeerable)
Finalized()

實例完成時呼叫。

(繼承來源 IJavaPeerable)
OnCancelled(IWindowInsetsAnimationController)

android.os.CancellationSignal 已叫用與 WindowInsetsController#controlWindowInsetsAnimation request 相關聯的 ,或視窗失去對內集的控制 (e,所以取消對內嵌的要求時呼叫。

OnFinished(IWindowInsetsAnimationController)

當對 inset 進行控制的要求具有 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 之要求的接聽程式。

適用於