Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Animation(val id: String, val name: String, val pausedState: Boolean, val playState: String, val playbackRate: Double, val startTime: Double, val currentTime: Double, val type: AnimationType, val source: AnimationEffect? = null, val cssId: String? = null)

Animation instance.

Link copied to clipboard
Link copied to clipboard
@Serializable
data class AnimationEffect(val delay: Double, val endDelay: Double, val iterationStart: Double, val iterations: Double, val duration: Double, val direction: String, val fill: String, val backendNodeId: BackendNodeId? = null, val keyframesRule: KeyframesRule? = null, val easing: String)

AnimationEffect instance

Link copied to clipboard
@Serializable
enum AnimationType : Enum<AnimationType>

This enum doesn't have a proper description because it was generated from an inline declaration. Its name was inferred based on the place where it is used:

Link copied to clipboard
@Serializable
object DisableResponse

A dummy response object for the AnimationDomain.disable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
object EnableResponse

A dummy response object for the AnimationDomain.enable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class GetCurrentTimeRequest(val id: String)

Request object containing input parameters for the AnimationDomain.getCurrentTime command.

Link copied to clipboard
@Serializable
data class GetCurrentTimeResponse(val currentTime: Double)

Response type for the AnimationDomain.getCurrentTime command.

Link copied to clipboard
@Serializable
data class GetPlaybackRateResponse(val playbackRate: Double)

Response type for the AnimationDomain.getPlaybackRate command.

Link copied to clipboard
@Serializable
data class KeyframesRule(val name: String? = null, val keyframes: List<KeyframeStyle>)

Keyframes Rule

Link copied to clipboard
@Serializable
data class KeyframeStyle(val offset: String, val easing: String)

Keyframe Style

Link copied to clipboard
@Serializable
data class ReleaseAnimationsRequest(val animations: List<String>)

Request object containing input parameters for the AnimationDomain.releaseAnimations command.

Link copied to clipboard
@Serializable
object ReleaseAnimationsResponse

A dummy response object for the AnimationDomain.releaseAnimations command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class ResolveAnimationRequest(val animationId: String)

Request object containing input parameters for the AnimationDomain.resolveAnimation command.

Link copied to clipboard
@Serializable
data class ResolveAnimationResponse(val remoteObject: RemoteObject)

Response type for the AnimationDomain.resolveAnimation command.

Link copied to clipboard
@Serializable
data class SeekAnimationsRequest(val animations: List<String>, val currentTime: Double)

Request object containing input parameters for the AnimationDomain.seekAnimations command.

Link copied to clipboard
@Serializable
object SeekAnimationsResponse

A dummy response object for the AnimationDomain.seekAnimations command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetPausedRequest(val animations: List<String>, val paused: Boolean)

Request object containing input parameters for the AnimationDomain.setPaused command.

Link copied to clipboard
@Serializable
object SetPausedResponse

A dummy response object for the AnimationDomain.setPaused command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetPlaybackRateRequest(val playbackRate: Double)

Request object containing input parameters for the AnimationDomain.setPlaybackRate command.

Link copied to clipboard
@Serializable
object SetPlaybackRateResponse

A dummy response object for the AnimationDomain.setPlaybackRate command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetTimingRequest(val animationId: String, val duration: Double, val delay: Double)

Request object containing input parameters for the AnimationDomain.setTiming command.

Link copied to clipboard
@Serializable
object SetTimingResponse

A dummy response object for the AnimationDomain.setTiming command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.