Type Method

new

Creates a new transaction metrics instance.

Declaration

+ (instancetype)new;

Discussion

You should never need to create your own NSURLSessionTaskTransactionMetrics instances. The NSURLSession creates task transaction metrics as part of the NSURLSessionTaskMetrics instance that it delivers to the URLSession:task:didFinishCollectingMetrics: method of NSURLSessionTaskDelegate.

See Also

Creating Transaction Metrics

- init

Creates a transaction metrics instance.

Deprecated