AMACustomBoolAttribute 协议

该协议定义了更新布尔属性值的方法。

Instance methods

-withValue:

更新属性值。

-withValueIfUndefined:

如果属性值之前未设置,则更新属性值。

-withValueReset

重置属性值。

Method descriptions

-withValue:

- (AMAUserProfileUpdate *)withValue:(BOOL)value

更新属性值。

参数:

value

Attribute value: 是或否.

返回:

The AMAUserProfileUpdate 类实例。

-withValueIfUndefined:

- (AMAUserProfileUpdate *)withValueIfUndefined:(BOOL)value

如果属性值之前未设置,则更新它。

参数:

value

Attribute value: 是或否.

返回:

该 AMAUserProfileUpdate 类实例。

-withValueReset

- (AMAUserProfileUpdate *)withValueReset

重置属性值。

返回:

The AMAUserProfileUpdate 类实例。