NotificationsEnabledAttribute 协议
该协议定义了更新用户资料通知状态的方法。
它表示用户是否已启用通知。
Instance methods
|
更新属性值。 |
|
|
重置属性值。 |
Method descriptions
withValue(_:)
func withValue(_ value: Bool) -> UserProfileUpdate
更新属性值。
参数:
|
|
属性值: |
返回:
The 用户配置更新 类实例。
withValueReset()
func withValueReset() -> UserProfileUpdate
重置属性值。
返回:
The 用户配置更新 类实例。
这篇文章是否有用?
下一篇