ARTSummaryClientIdCounts

Objective-C

@interface ARTSummaryClientIdCounts : NSObject

Swift

class ARTSummaryClientIdCounts : NSObject, @unchecked Sendable

Summary with total count and dictionary mapping client IDs to counts.

  • Total count of items

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger total;

    Swift

    var total: Int { get }
  • Dictionary mapping client IDs to their counts

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSDictionary<NSString *, NSNumber *> *_Nonnull clientIds;

    Swift

    var clientIds: [String : NSNumber] { get }
  • Whether the summary data is clipped (truncated)

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL clipped;

    Swift

    var clipped: Bool { get }
  • Total number of unidentified annotations

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger totalUnidentified;

    Swift

    var totalUnidentified: Int { get }
  • Total number of unique client IDs

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger totalClientIds;

    Swift

    var totalClientIds: Int { get }
  • Initializes with all properties.

    Declaration

    Objective-C

    - (nonnull instancetype)
            initWithTotal:(NSInteger)total
                clientIds:(nonnull NSDictionary<NSString *, NSNumber *> *)clientIds
                  clipped:(BOOL)clipped
        totalUnidentified:(NSInteger)totalUnidentified
           totalClientIds:(NSInteger)totalClientIds;

    Swift

    init(total: Int, clientIds: [String : NSNumber], clipped: Bool, totalUnidentified: Int, totalClientIds: Int)

    Parameters

    total

    The total count

    clientIds

    Dictionary mapping client IDs to their counts

    clipped

    Whether the data is clipped

    totalUnidentified

    Total unidentified annotations

    totalClientIds

    Total unique client IDs