Instance Property

delegate

Accesses the metadata collector’s delegate object.

Declaration

@property(nonatomic, readonly, weak) id<AVPlayerItemMetadataCollectorPushDelegate> delegate;

Discussion

The delegate is held using a zeroing-weak reference, so this property will have a value of nil after a delegate that was previously set has been deallocated.

This property is not key-value observable.

See Also

Accessing the Delegate and Callback Queue

- setDelegate:queue:

Sets the delegate and a dispatch queue on which the delegate will be called.

AVPlayerItemMetadataCollectorPushDelegate

A protocol you implement to receive metadata callbacks from a player item metadata collector.

delegateQueue

The dispatch queue on which the delegate’s methods are called.