DBTEAMGetDevicesReport

@interface DBTEAMGetDevicesReport
    : DBTEAMBaseDfbReport <DBSerializable, NSCopying>

The GetDevicesReport struct.

Devices Report Result. Contains subsections for different time ranges of activity. Each of the items in each subsection of the storage report is an array of values, one value per day. If there is no data for a day, then the value will be None.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithStartDate:(nonnull NSString *)startDate
           active1Day:(nonnull DBTEAMDevicesActive *)active1Day
           active7Day:(nonnull DBTEAMDevicesActive *)active7Day
          active28Day:(nonnull DBTEAMDevicesActive *)active28Day;

    Swift

    init(startDate: String, active1Day: DBTEAMDevicesActive, active7Day: DBTEAMDevicesActive, active28Day: DBTEAMDevicesActive)

    Parameters

    startDate

    First date present in the results as ‘YYYY-MM-DD’ or None.

    active1Day

    Report of the number of devices active in the last day.

    active7Day

    Report of the number of devices active in the last 7 days.

    active28Day

    Report of the number of devices active in the last 28 days.

    Return Value

    An initialized instance.