Contents

pictureInPictureControllerIsPlaybackPaused(_:)

Asks delegate to indicate whether the playback UI reflects a playing or paused state, regardless of the current playback rate.

Declaration

func pictureInPictureControllerIsPlaybackPaused(_ pictureInPictureController: AVPictureInPictureController) -> Bool

Parameters

  • pictureInPictureController:

    The Picture in Picture controller.

Return Value

true to indicate a paused state, otherwise false.

Discussion

The system calls this method whenever you call its invalidatePlaybackState() method, and at other times as it requires.

See Also

Responding to Playback Events