1 /*
2  * Copyright 2021 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package androidx.compose.animation.tooling
18 
19 /**
20  * Represents a transition of the Compose animation.
21  *
22  * @property label The label of the animation.
23  * @property specType The java class name of the spec.
24  * @property startTimeMillis The animation delay if it has one.
25  * @property endTimeMillis The animation duration including the delay.
26  * @property values Animation values at given times from [startTimeMillis] to [endTimeMillis] with a
27  *   step.
28  */
29 public class TransitionInfo(
30     public val label: String,
31     public val specType: String,
32     public val startTimeMillis: Long,
33     public val endTimeMillis: Long,
34     public val values: Map<Long, Any?>
35 )
36