One Logo Pool Ball
AVKit · IOS API REFERENCE

AVPictureInPictureController.ContentSource

class · iOS 15.0+ · SDK 27.1

class ContentSource

Members (8)

init · iOS 15.0+

init

TypeScript
static initActiveVideoCallSourceViewContentViewController(sourceView: _UIKit_UIView, contentViewController: AVPictureInPictureVideoCallViewController): AVPictureInPictureController_ContentSource
Swift declaration
init(activeVideoCallSourceView sourceView: UIView, contentViewController: AVPictureInPictureVideoCallViewController)
init · iOS 15.0+

init

TypeScript
static initPlayerLayer(playerLayer: _AVFoundation_AVPlayerLayer): AVPictureInPictureController_ContentSource
Swift declaration
init(playerLayer: AVPlayerLayer)
init · iOS 15.0+

init

TypeScript
static initSampleBufferDisplayLayerPlaybackDelegate(sampleBufferDisplayLayer: _AVFoundation_AVSampleBufferDisplayLayer, playbackDelegate: SDKHandle): AVPictureInPictureController_ContentSource
Swift declaration
init(sampleBufferDisplayLayer: AVSampleBufferDisplayLayer, playbackDelegate: any AVPictureInPictureSampleBufferPlaybackDelegate)
get · iOS 15.0+

activeVideoCallContentViewController

TypeScript
get activeVideoCallContentViewController(): AVPictureInPictureVideoCallViewController
Swift declaration
var activeVideoCallContentViewController: AVPictureInPictureVideoCallViewController { get }
get · iOS 15.0+

activeVideoCallSourceView

TypeScript
get activeVideoCallSourceView(): (_UIKit_UIView) | null
Swift declaration
weak var activeVideoCallSourceView: UIView? { get }
get · iOS 15.0+

playerLayer

TypeScript
get playerLayer(): (_AVFoundation_AVPlayerLayer) | null
Swift declaration
var playerLayer: AVPlayerLayer? { get }
get · iOS 15.0+

sampleBufferDisplayLayer

TypeScript
get sampleBufferDisplayLayer(): (_AVFoundation_AVSampleBufferDisplayLayer) | null
Swift declaration
var sampleBufferDisplayLayer: AVSampleBufferDisplayLayer? { get }
get · iOS 15.0+

sampleBufferPlaybackDelegate

TypeScript
get sampleBufferPlaybackDelegate(): (SDKHandle) | null
Swift declaration
weak var sampleBufferPlaybackDelegate: (any AVPictureInPictureSampleBufferPlaybackDelegate)? { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AVPictureInPictureController.ContentSource.init()

inherited init: cannot prove legal (class declares 3 custom initializers)

All AVKit types →