YMRReportCollector

class YMRReportCollector : NSObject

Undocumented

Summary

Instance methods

func reports() -> [YMRReportData]
Get all stored reports

Properties

var isValid: Bool { get }
Tells if this object is valid or no

Instance methods

reports()

func reports() -> [YMRReportData]

Get all stored reports. The reports are not stored forever. There is an internal limit on the total size of all reports so older reports will be removed if space is needed for a newer report. The reports are sorted by their start time: the oldest report is first, the newest is last.


Properties

isValid

var isValid: Bool { get }

Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.