AMACustomNumberAttribute protocol
The protocol defines methods for updating the value of a numeric attribute.
Instance methods
Updates the attribute value. |
|
Updates the attribute value if it wasn't set earlier. |
|
Resets the attribute value. |
Method descriptions
-withValue:
- (AMAUserProfileUpdate *)withValue:(double)value
Updates the attribute value.
Parameters:
|
The value of the numeric attribute. The data type is |
Returns:
The AMAUserProfileUpdate
class instance.
-withValueIfUndefined:
- (AMAUserProfileUpdate *)withValueIfUndefined:(double)value
Updates the attribute value if it wasn't set earlier.
Parameters:
|
The value of the numeric attribute. The data type is |
Returns:
The AMAUserProfileUpdate
class instance.
-withValueReset
- (AMAUserProfileUpdate *)withValueReset
Resets the attribute value.
Returns:
The AMAUserProfileUpdate
class instance.