EmbeddingAnimationParams.AnimationSpec


public final class EmbeddingAnimationParams.AnimationSpec


The animation to use when an activity transitions (e.g. open, close, or change).

Summary

Public fields

static final @NonNull EmbeddingAnimationParams.AnimationSpec

Specifies the default animation defined by the system.

static final @NonNull EmbeddingAnimationParams.AnimationSpec

Specifies an animation with zero duration.

Public methods

boolean
equals(Object other)
int
@NonNull String

A string representation of this AnimationSpec.

Public fields

DEFAULT

public static final @NonNull EmbeddingAnimationParams.AnimationSpec DEFAULT

Specifies the default animation defined by the system.

JUMP_CUT

public static final @NonNull EmbeddingAnimationParams.AnimationSpec JUMP_CUT

Specifies an animation with zero duration.

Public methods

equals

public boolean equals(Object other)

hashCode

public int hashCode()

toString

public @NonNull String toString()

A string representation of this AnimationSpec.

Returns
@NonNull String

the string representation of the object.