Contents

startReading()

Prepares the asset reader to start reading sample buffers from the asset.

Declaration

func startReading() -> Bool

Return Value

true if the reader is able to start reading; otherwise, false.

Discussion

If this method returns false, you can determine the reason by checking the values of the status and error properties.

See Also

Controlling reading