EmbeddingAnimationParams


public final class EmbeddingAnimationParams


Parameters to be used for window transition animations for embedding activities.

Summary

Nested types

Builder for creating an instance of EmbeddingAnimationParams.

Public methods

boolean
equals(Object other)

Determines whether this object has the same animation parameters as the compared object.

final @NonNull EmbeddingAnimationBackground

the animation background to use during the animation of the split involving this EmbeddingAnimationParams object if the animation requires a background.

int

Returns a hash code for this EmbeddingAnimationParams object.

@NonNull String

A string representation of this EmbeddingAnimationParams object.

Public methods

equals

public boolean equals(Object other)

Determines whether this object has the same animation parameters as the compared object.

Parameters
Object other

the object to compare to this object.

Returns
boolean

true if the objects have the same animation parameters, false otherwise.

getAnimationBackground

Added in 1.4.0-beta01
public final @NonNull EmbeddingAnimationBackground getAnimationBackground()

the animation background to use during the animation of the split involving this EmbeddingAnimationParams object if the animation requires a background. The default is to use the current theme window background color.

hashCode

public int hashCode()

Returns a hash code for this EmbeddingAnimationParams object.

Returns
int

the hash code for this object.

toString

public @NonNull String toString()

A string representation of this EmbeddingAnimationParams object.

Returns
@NonNull String

the string representation of the object.