AVFoundation · IOS API REFERENCE
AVCaptionRenderer
class · iOS 18.0+ · SDK 27.1
class AVCaptionRenderer
Members (8)
static · iOS 26.4+captionPreview
TypeScriptstatic captionPreview(profileID: string, extendedLanguageTag: (string) | null, renderSize: { width: number; height: number }): _Foundation_NSAttributedString
Swift declarationclass func captionPreview(forProfileID profileID: String, extendedLanguageTag: String?, renderSize: CGSize) -> NSAttributedString
method · iOS 18.0+captionSceneChanges
TypeScriptcaptionSceneChanges(consideredTimeRange: _CoreMedia_CMTimeRange): Array<AVCaptionRenderer_Scene>
Swift declarationfunc captionSceneChanges(in consideredTimeRange: CMTimeRange) -> [AVCaptionRenderer.Scene]
init · iOS 18.0+init
TypeScriptstatic init(): AVCaptionRenderer
Swift declarationinit()
method · iOS 18.0+render
TypeScriptrender(ctx: _CoreGraphics_CGContext, time: _CoreMedia_CMTime): void
Swift declarationfunc render(in ctx: CGContext, for time: CMTime)
get · iOS 18.0+bounds
TypeScriptget bounds(): { x: number; y: number; width: number; height: number }
Swift declarationvar bounds: CGRect { get set }
set · iOS 18.0+bounds
TypeScriptset bounds(value: { x: number; y: number; width: number; height: number })
Swift declarationvar bounds: CGRect { get set }
get · iOS 18.0+captions
TypeScriptget captions(): Array<AVCaption>
Swift declarationvar captions: [AVCaption] { get set }
set · iOS 18.0+captions
TypeScriptset captions(value: Array<AVCaption>)
Swift declarationvar captions: [AVCaption] { get set }
Skipped declarations
No declarations were skipped in this snapshot.
All AVFoundation types →