AVKit · IOS API REFERENCE
AVPictureInPictureController.ContentSource
class · iOS 15.0+ · SDK 27.1
class ContentSource
Members (8)
init · iOS 15.0+init
TypeScriptstatic initActiveVideoCallSourceViewContentViewController(sourceView: _UIKit_UIView, contentViewController: AVPictureInPictureVideoCallViewController): AVPictureInPictureController_ContentSource
Swift declarationinit(activeVideoCallSourceView sourceView: UIView, contentViewController: AVPictureInPictureVideoCallViewController)
init · iOS 15.0+init
TypeScriptstatic initPlayerLayer(playerLayer: _AVFoundation_AVPlayerLayer): AVPictureInPictureController_ContentSource
Swift declarationinit(playerLayer: AVPlayerLayer)
init · iOS 15.0+init
TypeScriptstatic initSampleBufferDisplayLayerPlaybackDelegate(sampleBufferDisplayLayer: _AVFoundation_AVSampleBufferDisplayLayer, playbackDelegate: SDKHandle): AVPictureInPictureController_ContentSource
Swift declarationinit(sampleBufferDisplayLayer: AVSampleBufferDisplayLayer, playbackDelegate: any AVPictureInPictureSampleBufferPlaybackDelegate)
get · iOS 15.0+activeVideoCallContentViewController
TypeScriptget activeVideoCallContentViewController(): AVPictureInPictureVideoCallViewController
Swift declarationvar activeVideoCallContentViewController: AVPictureInPictureVideoCallViewController { get }
get · iOS 15.0+activeVideoCallSourceView
TypeScriptget activeVideoCallSourceView(): (_UIKit_UIView) | null
Swift declarationweak var activeVideoCallSourceView: UIView? { get }
get · iOS 15.0+playerLayer
TypeScriptget playerLayer(): (_AVFoundation_AVPlayerLayer) | null
Swift declarationvar playerLayer: AVPlayerLayer? { get }
get · iOS 15.0+sampleBufferDisplayLayer
TypeScriptget sampleBufferDisplayLayer(): (_AVFoundation_AVSampleBufferDisplayLayer) | null
Swift declarationvar sampleBufferDisplayLayer: AVSampleBufferDisplayLayer? { get }
get · iOS 15.0+sampleBufferPlaybackDelegate
TypeScriptget sampleBufferPlaybackDelegate(): (SDKHandle) | null
Swift declarationweak 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 →