AMANotificationsEnabledAttribute 协议

该协议定义了更新用户资料通知状态的方法。

它表示用户是否已启用通知。

Instance methods

-withValue:

更新属性值。

-withValueReset

重置属性值。

Method descriptions

-withValue:

- (AMAUserProfileUpdate *)withValue:(BOOL)value

更新属性值。

参数:

value

Attribute value: 是或否.

返回:

The AMAUserProfileUpdate 类实例。

-withValueReset

- (AMAUserProfileUpdate *)withValueReset

重置属性值。

返回:

该 AMAUserProfileUpdate 类实例。