EmbeddingAnimationParams


class EmbeddingAnimationParams


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

Summary

Nested types

Builder for creating an instance of EmbeddingAnimationParams.

Public functions

open operator Boolean
equals(other: Any?)

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

open Int

Returns a hash code for this EmbeddingAnimationParams object.

open String

A string representation of this EmbeddingAnimationParams object.

Public properties

EmbeddingAnimationBackground

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

Public functions

equals

open operator fun equals(other: Any?): Boolean

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

Parameters
other: Any?

the object to compare to this object.

Returns
Boolean

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

hashCode

open fun hashCode(): Int

Returns a hash code for this EmbeddingAnimationParams object.

Returns
Int

the hash code for this object.

toString

open fun toString(): String

A string representation of this EmbeddingAnimationParams object.

Returns
String

the string representation of the object.

Public properties

animationBackground

Added in 1.4.0-beta01
val animationBackgroundEmbeddingAnimationBackground

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.