totalItemCount
TypeScriptget totalItemCount(): (number) | nullSwift declarationvar totalItemCount: Int?The total number of items being processed.
struct · iOS 16.0+ · SDK 27.1
struct EventMaintans the status of the pipeline.
get totalItemCount(): (number) | nullSwift declarationvar totalItemCount: Int?The total number of items being processed.
set totalItemCount(value: (number) | null)Swift declarationvar totalItemCount: Int?The total number of items being processed.
get debugDescription(): stringSwift declarationvar debugDescription: String { get }A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.
static init(origin: string, itemCount: number, totalItemCount: (number) | null, metrics: NativeMap<MetricsKey, SDKHandle>): EventSwift declarationinit(origin: String, itemCount: Int, totalItemCount: Int? = nil, metrics: [MetricsKey : any Sendable])Creates an event. - Parameters: - origin: A description of the event's origin. - itemCount: The number of items processed so far. - totalItemCount: The total number of items being processed. - metrics: A dictionary of custom metrics values.
get origin(): stringSwift declarationvar origin: StringA description of the event's origin.
set origin(value: string)Swift declarationvar origin: StringA description of the event's origin.
get metrics(): NativeMap<MetricsKey, SDKHandle>Swift declarationvar metrics: [MetricsKey : any Sendable]A dictionary of custom metrics values.
set metrics(value: NativeMap<MetricsKey, SDKHandle>)Swift declarationvar metrics: [MetricsKey : any Sendable]A dictionary of custom metrics values.
get itemCount(): numberSwift declarationvar itemCount: IntThe number of items processed so far.
set itemCount(value: number)Swift declarationvar itemCount: IntThe number of items processed so far.
No declarations were skipped in this snapshot.