TransitionPropagation.GetStartDelay 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.
Called by Transition to alter the Animator start delay.
[Android.Runtime.Register("getStartDelay", "(Landroid/view/ViewGroup;Landroid/transition/Transition;Landroid/transition/TransitionValues;Landroid/transition/TransitionValues;)J", "GetGetStartDelay_Landroid_view_ViewGroup_Landroid_transition_Transition_Landroid_transition_TransitionValues_Landroid_transition_TransitionValues_Handler")]
public abstract long GetStartDelay (Android.Views.ViewGroup? sceneRoot, Android.Transitions.Transition? transition, Android.Transitions.TransitionValues? startValues, Android.Transitions.TransitionValues? endValues);
[<Android.Runtime.Register("getStartDelay", "(Landroid/view/ViewGroup;Landroid/transition/Transition;Landroid/transition/TransitionValues;Landroid/transition/TransitionValues;)J", "GetGetStartDelay_Landroid_view_ViewGroup_Landroid_transition_Transition_Landroid_transition_TransitionValues_Landroid_transition_TransitionValues_Handler")>]
abstract member GetStartDelay : Android.Views.ViewGroup * Android.Transitions.Transition * Android.Transitions.TransitionValues * Android.Transitions.TransitionValues -> int64
Parameters
- sceneRoot
- ViewGroup
The root of the View hierarchy running the transition.
- transition
- Transition
The transition that created the Animator
- startValues
- TransitionValues
The values for a specific target in the start scene.
- endValues
- TransitionValues
The values for the target in the end scene.
Returns
A start delay to use with the Animator created by transition
. The
delay will be offset by the minimum delay of all TransitionPropagation
s
used in the Transition so that the smallest delay will be 0. Returned values may be
negative.
- Attributes
Remarks
Called by Transition to alter the Animator start delay. All start delays will be adjusted such that the minimum becomes zero.
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.