YMMGenderAttribute protocol
The protocol defines methods for updating the gender of a user profile.
Instance methods
withValue(_:) | Updates the gender attribute with the specified value from the |
withValueReset() | Resets the attribute value. |
withValue(_:) | Updates the gender attribute with the specified value from the |
withValueReset() | Resets the attribute value. |
Method descriptions
withValue(_:)
func withValue(_ value: YMMGenderType) -> YMMUserProfileUpdate
Updates the gender attribute with the specified value from the YMMGenderType
enum.
Parameters:
value | The value from the |
value | The value from the |
Returns:
The YMMUserProfileUpdate
class instance.
withValueReset()
func withValueReset() -> YMMUserProfileUpdate
Resets the attribute value.
Returns:
The YMMUserProfileUpdate
class instance.