다음을 통해 공유


IAnimatable2.RegisterAnimationCallback(Animatable2AnimationCallback) Method

Definition

Adds a callback to listen to the animation events.

[Android.Runtime.Register("registerAnimationCallback", "(Landroid/graphics/drawable/Animatable2$AnimationCallback;)V", "GetRegisterAnimationCallback_Landroid_graphics_drawable_Animatable2_AnimationCallback_Handler:Android.Graphics.Drawables.IAnimatable2Invoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)]
public void RegisterAnimationCallback (Android.Graphics.Drawables.Animatable2AnimationCallback callback);
[<Android.Runtime.Register("registerAnimationCallback", "(Landroid/graphics/drawable/Animatable2$AnimationCallback;)V", "GetRegisterAnimationCallback_Landroid_graphics_drawable_Animatable2_AnimationCallback_Handler:Android.Graphics.Drawables.IAnimatable2Invoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)>]
abstract member RegisterAnimationCallback : Android.Graphics.Drawables.Animatable2AnimationCallback -> unit

Parameters

callback
Animatable2AnimationCallback

Callback to add.

Attributes

Remarks

Java documentation for android.graphics.drawable.Animatable2.registerAnimationCallback(android.graphics.drawable.AnimationCallback).

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.

Applies to