Returns the next timed metadata group for the asset reader output.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
An instance of
AVTimed, representing the next logical segment of metadata from the source asset reader output.
This method will return
nil after reading all timed metadata groups from the asset reader output, or if there is an error that prevents reading more timed metadata groups. When this method returns
nil, clients should check the value of the associated
status property to determine why no more samples could be read.
Before calling this method, you must ensure that the output which underlies the receiver is attached to an
AVAsset via a prior call to
add(_:) and that
start has been called on the asset reader.