One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVPlayerLooper

class · iOS 10.0+ · SDK 27.1

class AVPlayerLooper

Members (8)

init · iOS 10.0+

init

TypeScript
static initPlayerTemplateItem(player: AVQueuePlayer, itemToLoop: AVPlayerItem): AVPlayerLooper
Swift declaration
convenience init(player: AVQueuePlayer, templateItem itemToLoop: AVPlayerItem)
method · iOS 10.0+

disableLooping

TypeScript
disableLooping(): void
Swift declaration
func disableLooping()
init · iOS 10.0+

init

TypeScript
static initPlayerTemplateItemTimeRange(player: AVQueuePlayer, itemToLoop: AVPlayerItem, loopRange: _CoreMedia_CMTimeRange): AVPlayerLooper
Swift declaration
convenience init(player: AVQueuePlayer, templateItem itemToLoop: AVPlayerItem, timeRange loopRange: CMTimeRange)
init · iOS 17.0+

init

TypeScript
static initPlayerTemplateItemTimeRangeExistingItemsOrdering(player: AVQueuePlayer, itemToLoop: AVPlayerItem, loopRange: _CoreMedia_CMTimeRange, itemOrdering: AVPlayerLooper_ItemOrdering): AVPlayerLooper
Swift declaration
init(player: AVQueuePlayer, templateItem itemToLoop: AVPlayerItem, timeRange loopRange: CMTimeRange, existingItemsOrdering itemOrdering: AVPlayerLooper.ItemOrdering)
get · iOS 10.0+

error

TypeScript
get error(): (NativeError) | null
Swift declaration
var error: (any Error)? { get }
get · iOS 10.0+

loopCount

TypeScript
get loopCount(): number
Swift declaration
var loopCount: Int { get }
get · iOS 10.0+

loopingPlayerItems

TypeScript
get loopingPlayerItems(): Array<AVPlayerItem>
Swift declaration
var loopingPlayerItems: [AVPlayerItem] { get }
get · iOS 10.0+

status

TypeScript
get status(): AVPlayerLooper_Status
Swift declaration
var status: AVPlayerLooper.Status { get }

Skipped declarations

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

AVPlayerLooper.init()

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

All AVFoundation types →