UGCKitReporter.h 429 B

1234567891011121314
  1. // Copyright (c) 2019 Tencent. All rights reserved.
  2. #import <Foundation/Foundation.h>
  3. NS_ASSUME_NONNULL_BEGIN
  4. @protocol UGCKitReporterProtocol <NSObject>
  5. + (void)report:(NSString *)type userName:(nullable NSString *)userName code:(UInt64)code msg:(NSString *)msg;
  6. @end
  7. @interface UGCKitReporter : NSObject <UGCKitReporterProtocol>
  8. + (void)registerReporter:(Class<UGCKitReporterProtocol>)reporter;
  9. @end
  10. NS_ASSUME_NONNULL_END