ORKDataLoggerDelegate Protocol Reference

Conforms to NSObject
Declared in ORKDataLogger.h

The ORKDataLoggerDelegate protocol defines methods that the delegate of an ORKDataLogger object uses to handle data being logged to disk.

– dataLogger:finishedLogFile: required method

Tells the delegate when a log file rollover occurs.

- (void)dataLogger:(ORKDataLogger *)dataLogger finishedLogFile:(NSURL *)fileUrl

Parameters

dataLogger

The data logger providing the notification.

fileUrl

The URL of the newly renamed log file.

Declared In

ORKDataLogger.h

– dataLoggerByteCountsDidChange:

Tells the delegate if the number of bytes in completed logs changes.

- (void)dataLoggerByteCountsDidChange:(ORKDataLogger *)dataLogger

Parameters

dataLogger

The data logger providing the notification.

Discussion

When files are removed or added, or marked as uploaded or unmarked, this delegate method is called a short time later. Multiple directory changes are rolled up into a single delegate callback.

Declared In

ORKDataLogger.h