AMAGenderAttribute 协议
该协议定义了更新用户个人资料性别的方法。
Instance methods
|
使用来自 AMAGenderType 枚举的指定值更新属性值。 |
|
|
重置属性值。 |
Method descriptions
-withValue:
- (AMAUserProfileUpdate *)withValue:(AMAGenderType)value
使用来自 AMAGenderType 枚举的指定值更新属性值。
参数:
|
|
来自 AMAGenderType 枚举的值。 |
返回:
The AMAUserProfileUpdate 类实例。
-withValueReset
- (AMAUserProfileUpdate *)withValueReset
重置属性值。
返回:
The AMAUserProfileUpdate 类实例。