AMAProfileAttribute class
Methods of the class create predefined and custom profile attributes.
AppMetrica lets you create up to 100 custom attributes.
Instance methods
Creates a predefined birth date / age attribute. |
|
Creates a custom attribute with the |
|
Creates a custom attribute with the tag type. |
|
Creates a custom attribute with the |
|
Creates a custom attribute with the |
|
Creates a predefined gender attribute. |
|
+name |
Creates a predefined name attribute. |
Creates a predefined notification status attribute. |
Method descriptions
+birthDate
+ (id<AMABirthDateAttribute>)birthDate
Creates a birth date attribute.
Alert
AppMetrica doesn't display predefined attributes in the web interface if ProfieId
sending isn't configured.
Returns:
The instance that implements the AMABirthDateAttribute protocol.
+customBool:
+ (id<AMACustomBoolAttribute>)customBool:(NSString *)name
Creates a custom attribute with the bool
type.
Parameters:
|
Attribute name. The value can contain up to 200 characters. |
Returns:
The instance that implements the AMACustomBoolAttribute protocol.
+customCounter:
+ (id<AMACustomCounterAttribute>)customCounter:(NSString *)name
Creates a custom attribute of the tag type.
Parameters:
|
Creates a custom attribute with the tag type. |
Returns:
The instance that implements the AMACustomCounterAttribute protocol.
+customNumber:
+ (id<AMACustomNumberAttribute>)customNumber:(NSString *)name
Creates a custom attribute with the double
type.
Parameters:
|
Creates a custom attribute with the tag type. |
Returns:
The instance that implements the AMACustomNumberAttribute protocol.
+customString:
+ (id<AMACustomStringAttribute>)customString:(NSString *)name
Creates a custom attribute with the string
type.
Parameters:
|
Attribute name. The value can contain up to 200 characters. |
Returns:
The instance that implements the AMACustomStringAttribute protocol.
+gender
+ (id<AMAGenderAttribute>)gender
Creates a gender attribute.
Alert
AppMetrica doesn't display predefined attributes in the web interface if ProfieId
sending isn't configured.
Returns:
The instance that implements the AMAGenderAttribute protocol.
+name
+ (id<AMANameAttribute>)name
Creates a name attribute.
Alert
AppMetrica doesn't display predefined attributes in the web interface if ProfieId
sending isn't configured.
Returns:
The instance that implements the AMANameAttribute protocol.
+notificationsEnabled
+ (id<AMANotificationsEnabledAttribute>)notificationsEnabled
Creates a predefined notification status attribute.
Alert
AppMetrica doesn't display predefined attributes in the web interface if ProfieId
sending isn't configured.
Returns:
The instance that implements the AMANotificationsEnabledAttribute protocol.