NotificationsEnabledAttribute protocol
The protocol defines methods for updating the notification status of a user profile.
It indicates whether the user has enabled notifications.
Instance methods
| Updates the attribute value. | |
| Resets the attribute value. | 
Method descriptions
withValue(_:)
func withValue(_ value: Bool) -> UserProfileUpdate
Updates the attribute value.
Parameters:
| 
 | Attribute value:  | 
Returns:
The UserProfileUpdate class instance.
withValueReset()
func withValueReset() -> UserProfileUpdate
Resets the attribute value.
Returns:
The UserProfileUpdate class instance.
Was the article helpful?
Previous
Next