LayoutTransition.GetDuration(LayoutTransitionType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the duration on one of the animation objects used by this transition.
[Android.Runtime.Register("getDuration", "(I)J", "GetGetDuration_IHandler")]
public virtual long GetDuration (Android.Animation.LayoutTransitionType transitionType);
[<Android.Runtime.Register("getDuration", "(I)J", "GetGetDuration_IHandler")>]
abstract member GetDuration : Android.Animation.LayoutTransitionType -> int64
override this.GetDuration : Android.Animation.LayoutTransitionType -> int64
Parameters
- transitionType
- LayoutTransitionType
One of #CHANGE_APPEARING
, #CHANGE_DISAPPEARING
,
#CHANGING
, #APPEARING
, or #DISAPPEARING
, which determines
the animation whose duration is returned.
Returns
long The duration of the specified animation.
- Attributes
Remarks
Gets the duration on one of the animation objects used by this transition. The transitionType
parameter determines the animation whose duration is returned.
Java documentation for android.animation.LayoutTransition.getDuration(int)
.
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.