isPictureInPicture

abstract fun isPictureInPicture(): Boolean

Returns true if player is currently in Picture-in-Picture (PiP) mode.

Return

true if PiP is active, false otherwise.