FloatingWindowOptions

data class FloatingWindowOptions(val widthFraction: Float = 0.25f, val corner: FloatingCorner = FloatingCorner.BottomRight, val margin: Int = 24, val labels: FloatingWindowLabels = FloatingWindowLabels())

Where and how large the floating picture window of KitePlayerPictureInPicture opens.

Constructors

Link copied to clipboard
constructor(widthFraction: Float = 0.25f, corner: FloatingCorner = FloatingCorner.BottomRight, margin: Int = 24, labels: FloatingWindowLabels = FloatingWindowLabels())

Properties

Link copied to clipboard

the corner of the screen the window opens in.

Link copied to clipboard

The words of the window's right-click menu.

Link copied to clipboard
val margin: Int

the distance in pixels between the window and the edges of the usable screen.

Link copied to clipboard

the window's width as a share of the screen's usable width, above 0 and at most 1. The height follows from the video's aspect.