UsageRecordFilter

public struct UsageRecordFilter

A structure representing a filter for usage records.

  • Enum representing the order of sorting.

    See more

    Declaration

    Swift

    public enum Order
  • Enum representing the criteria for ordering.

    See more

    Declaration

    Swift

    public enum OrderBy
  • An array of events to filter by.

    Declaration

    Swift

    public var events: [UsageRecord.Event]?
  • Set this to order the filtered records.

    Declaration

    Swift

    public var orderBy: OrderBy?
  • Initializes a UsageRecordFilter

    Declaration

    Swift

    public init(events: [UsageRecord.Event]?, orderBy: OrderBy?)

    Parameters

    events

    An array of specific events to filter by.