Share via


IWindowInsetsAnimationController Interface

Definition

Controller for app-driven animation of system windows.

[Android.Runtime.Register("android/view/WindowInsetsAnimationController", "", "Android.Views.IWindowInsetsAnimationControllerInvoker", ApiSince=30)]
public interface IWindowInsetsAnimationController : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/view/WindowInsetsAnimationController", "", "Android.Views.IWindowInsetsAnimationControllerInvoker", ApiSince=30)>]
type IWindowInsetsAnimationController = interface
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Attributes
Implements

Remarks

Controller for app-driven animation of system windows.

WindowInsetsAnimationController lets apps animate system windows such as the android.inputmethodservice.InputMethodService IME. The animation is synchronized, such that changes the system windows and the app's current frame are rendered at the same time.

Control is obtained through WindowInsetsController#controlWindowInsetsAnimation.

Java documentation for android.view.WindowInsetsAnimationController.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Properties

CurrentAlpha
CurrentFraction
CurrentInsets
Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
HiddenStateInsets
IsCancelled
IsFinished
IsReady

Returns whether this instance is ready to be used to control window insets.

JniIdentityHashCode

Returns the value of java.lang.System.identityHashCode() for the wrapped instance.

(Inherited from IJavaPeerable)
JniManagedPeerState

State of the managed peer.

(Inherited from IJavaPeerable)
JniPeerMembers

Member access and invocation support.

(Inherited from IJavaPeerable)
PeerReference

Returns a JniObjectReference of the wrapped Java object instance.

(Inherited from IJavaPeerable)
ShownStateInsets
Types

Methods

Disposed()

Called when the instance has been disposed.

(Inherited from IJavaPeerable)
DisposeUnlessReferenced()

If there are no outstanding references to this instance, then calls Dispose(); otherwise, does nothing.

(Inherited from IJavaPeerable)
Finalized()

Called when the instance has been finalized.

(Inherited from IJavaPeerable)
Finish(Boolean)

Finishes the animation, and leaves the windows shown or hidden.

SetInsetsAndAlpha(Insets, Single, Single)

Modifies the insets for the frame being drawn by indirectly moving the windows around in the system that are causing window insets.

SetJniIdentityHashCode(Int32)

Set the value returned by JniIdentityHashCode.

(Inherited from IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates) (Inherited from IJavaPeerable)
SetPeerReference(JniObjectReference)

Set the value returned by PeerReference.

(Inherited from IJavaPeerable)
UnregisterFromRuntime()

Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations.

(Inherited from IJavaPeerable)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to