luxlabs header browser preview


@class NSString, NSMutableArray, NSObject;
@protocol OS_dispatch_source, OS_dispatch_queue;

@interface PPEventMetricsLogger : NSObject <NSSecureCoding> {
    struct _opaque_pthread_mutex_t { long long __sig; char __opaque[56]; } _lock;
    NSString *_path;
    NSMutableArray *_loggedInteractionsSummary;
    NSObject<OS_dispatch_source> *_persistenceTimerSource;
    NSObject<OS_dispatch_queue> *_interactionsWriteQueue;
    double _storeCreationDate;
}

@property (class, readonly) BOOL supportsSecureCoding;

+ (id)defaultLogger;
+ (unsigned long long)numberOfDaysBetweenDate:(id)a0 andDate:(id)a1;

- (id)init;
- (void)dealloc;
- (id)initWithFileName:(id)a0;
- (void)encodeWithCoder:(id)a0;
- (void)logEventInteractionForEventWithEventIdentifier:(id)a0 interface:(unsigned short)a1 actionType:(unsigned short)a2;
- (void)sendRTCLogsWithCompletion:(id /* block */)a0;
- (void).cxx_destruct;
- (id)initWithCoder:(id)a0;
- (id)_createRTCReporting;
- (id)_descriptionForActionType:(unsigned short)a0;
- (id)_descriptionForInterface:(unsigned short)a0;
- (void)logNewInteractionSummaryWithDictionary:(id)a0;
- (id)logsToSend;
- (BOOL)resetLogs;
- (BOOL)storeToDisk;
- (void)updateAndScheduleDiskWrite;
- (id)_descriptionForPPRTCCategory:(unsigned short)a0;
- (BOOL)_incrementInteractionForEventIdentifier:(id)a0 interface:(unsigned short)a1 actionType:(unsigned short)a2;
- (id)_interactionAttributesForEventHighlight:(id)a0;
- (id)_interactionKeyForInterface:(unsigned short)a0 actionType:(unsigned short)a1;
- (BOOL)_removeInteractionsSummaryLogsFromLogsAndResetStoreAge:(id)a0;
- (double)_storeAge;
- (id)allowedLogFromLog:(id)a0;
- (id)eventsAndExtraordinaryEventsDictFromDate:(id)a0;
- (void)logEventInteractionForEventHighlight:(id)a0 interface:(unsigned short)a1 actionType:(unsigned short)a2;
- (id)loggedInteractionsSummaryMetrics;

@end