DBUSERSUserFeaturesGetValuesBatchArg

Objective-C

@interface DBUSERSUserFeaturesGetValuesBatchArg
    : NSObject <DBSerializable, NSCopying>

Swift

class DBUSERSUserFeaturesGetValuesBatchArg : NSObject, DBSerializable, NSCopying

The UserFeaturesGetValuesBatchArg struct.

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

Instance fields

  • A list of features in UserFeature. If the list is empty, this route will return UserFeaturesGetValuesBatchError.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<DBUSERSUserFeature *> *_Nonnull features;

    Swift

    var features: [DBUSERSUserFeature] { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithFeatures:
        (nonnull NSArray<DBUSERSUserFeature *> *)features;

    Swift

    init(features: [DBUSERSUserFeature])

    Parameters

    features

    A list of features in UserFeature. If the list is empty, this route will return UserFeaturesGetValuesBatchError.

    Return Value

    An initialized instance.