EmbeddedActivityWindowInfo


class EmbeddedActivityWindowInfo


Describes the embedded window related info of an activity.

When the activity is embedded, the ActivityEmbeddingController.embeddedActivityWindowInfo will be invoked when any fields of EmbeddedActivityWindowInfo is changed. When the activity is not embedded, the ActivityEmbeddingController.embeddedActivityWindowInfo will not be triggered unless the activity is becoming non-embedded from embedded, in which case isEmbedded will be false.

Summary

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Rect

The relative bounds of the embedded ActivityStack in the host container coordinate space.

Boolean

Whether this activity is embedded and its presentation may be customized by the host process of the task it is associated with.

Rect

The bounds of the host container in display coordinate space, which should be the Task bounds for regular embedding use case, or if the activity is not embedded.

Public functions

equals

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

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

boundsInParentHost

Added in 1.4.0-alpha01
val boundsInParentHostRect

The relative bounds of the embedded ActivityStack in the host container coordinate space. It has the same size as parentHostBounds if the activity is not embedded.

isEmbedded

Added in 1.4.0-alpha01
val isEmbeddedBoolean

Whether this activity is embedded and its presentation may be customized by the host process of the task it is associated with.

parentHostBounds

Added in 1.4.0-alpha01
val parentHostBoundsRect

The bounds of the host container in display coordinate space, which should be the Task bounds for regular embedding use case, or if the activity is not embedded.