Source set: Common
public class StartOffset private constructor(internal val value: Long)
This class defines a start offset for repeatable and infiniteRepeatable. There are two types of start offsets: StartOffsetType.Delay and StartOffsetType.FastForward. StartOffsetType.Delay delays the start of the animation, whereas StartOffsetType.FastForward fast forwards the animation to a given play time and starts it right away.
Properties
offsetMillis
Source set: Common
public val offsetMillis: Int
Returns the number of milliseconds to offset the start of the animation.
offsetType
Source set: Common
public val offsetType: StartOffsetType
Returns the offset type of the provided StartOffset.