Instance Property

error

Describes the error that occurred.

Declaration

@property(readonly) NSError *error;

Discussion

This property is thread safe.

The value of this property describes what caused the reader to no longer be able to read its asset. If the reader’s status is not AVAssetReaderStatusFailed, the value of this property is nil.

See Also

Controlling Reading

status

The status of the reading of sample buffers from the asset.

AVAssetReaderStatus

The statuses for a reader.

- startReading

Prepares the receiver for obtaining sample buffers from the asset.

- cancelReading

Cancels any background work and prevents the receiver’s outputs from reading more samples.

timeRange

The time range to read from the asset.