DBTEAMDevicesActive

@interface DBTEAMDevicesActive : NSObject <DBSerializable, NSCopying>

The DevicesActive struct.

Each of the items is an array of values, one value per day. The value is the number of devices active within a time window, ending with that 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.

  • Array of number of linked windows (desktop) clients with activity.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull windows;

    Swift

    var windows: [NSNumber] { get }
  • Array of number of linked mac (desktop) clients with activity.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull macos;

    Swift

    var macos: [NSNumber] { get }
  • Array of number of linked linus (desktop) clients with activity.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull linux;

    Swift

    var linux: [NSNumber] { get }
  • ios

    Array of number of linked ios devices with activity.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull ios;

    Swift

    var ios: [NSNumber] { get }
  • Array of number of linked android devices with activity.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull android;

    Swift

    var android: [NSNumber] { get }
  • Array of number of other linked devices (blackberry, windows phone, etc) with activity.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull other;

    Swift

    var other: [NSNumber] { get }
  • Array of total number of linked clients with activity.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull total;

    Swift

    var total: [NSNumber] { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithWindows:(nonnull NSArray<NSNumber *> *)windows
                                      macos:(nonnull NSArray<NSNumber *> *)macos
                                      linux:(nonnull NSArray<NSNumber *> *)linux
                                        ios:(nonnull NSArray<NSNumber *> *)ios
                                    android:(nonnull NSArray<NSNumber *> *)android
                                      other:(nonnull NSArray<NSNumber *> *)other
                                      total:(nonnull NSArray<NSNumber *> *)total;

    Swift

    init(windows: [NSNumber], macos: [NSNumber], linux: [NSNumber], ios: [NSNumber], android: [NSNumber], other: [NSNumber], total: [NSNumber])

    Parameters

    windows

    Array of number of linked windows (desktop) clients with activity.

    macos

    Array of number of linked mac (desktop) clients with activity.

    linux

    Array of number of linked linus (desktop) clients with activity.

    ios

    Array of number of linked ios devices with activity.

    android

    Array of number of linked android devices with activity.

    other

    Array of number of other linked devices (blackberry, windows phone, etc) with activity.

    total

    Array of total number of linked clients with activity.

    Return Value

    An initialized instance.