One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVCaptionRenderer

class · iOS 18.0+ · SDK 27.1

class AVCaptionRenderer

Members (8)

static · iOS 26.4+

captionPreview

TypeScript
static captionPreview(profileID: string, extendedLanguageTag: (string) | null, renderSize: { width: number; height: number }): _Foundation_NSAttributedString
Swift declaration
class func captionPreview(forProfileID profileID: String, extendedLanguageTag: String?, renderSize: CGSize) -> NSAttributedString
method · iOS 18.0+

captionSceneChanges

TypeScript
captionSceneChanges(consideredTimeRange: _CoreMedia_CMTimeRange): Array<AVCaptionRenderer_Scene>
Swift declaration
func captionSceneChanges(in consideredTimeRange: CMTimeRange) -> [AVCaptionRenderer.Scene]
init · iOS 18.0+

init

TypeScript
static init(): AVCaptionRenderer
Swift declaration
init()
method · iOS 18.0+

render

TypeScript
render(ctx: _CoreGraphics_CGContext, time: _CoreMedia_CMTime): void
Swift declaration
func render(in ctx: CGContext, for time: CMTime)
get · iOS 18.0+

bounds

TypeScript
get bounds(): { x: number; y: number; width: number; height: number }
Swift declaration
var bounds: CGRect { get set }
set · iOS 18.0+

bounds

TypeScript
set bounds(value: { x: number; y: number; width: number; height: number })
Swift declaration
var bounds: CGRect { get set }
get · iOS 18.0+

captions

TypeScript
get captions(): Array<AVCaption>
Swift declaration
var captions: [AVCaption] { get set }
set · iOS 18.0+

captions

TypeScript
set captions(value: Array<AVCaption>)
Swift declaration
var captions: [AVCaption] { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All AVFoundation types →