Contents

makeDataReady(completionHandler:)

Loads sample data asynchronously for all sample buffers within a batch.

Declaration

func makeDataReady(completionHandler: @escaping  @Sendable ((any Error)?) -> Void)
func makeDataReady() async throws

Parameters

  • completionHandler:

    A callback the system invokes once when all sample buffers in the batch are data-ready, or when an error occurs.

Discussion

Calling this method more than once on a batch generates an exception.