Initializer

init()

Creates a transaction metrics instance.

Declaration

init()

Discussion

You should never need to create your own URLSessionTaskTransactionMetrics instances. The URLSession creates task transaction metrics as part of the URLSessionTaskMetrics instance that it delivers to the urlSession(_:task:didFinishCollecting:) method of URLSessionTaskDelegate.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software