YMMNameAttribute protocol

The protocol defines methods for updating the name of a user profile.

Instance methods

withValue(_:)

Updates the attribute value.

withValueReset()

Resets the attribute value.

Method descriptions

withValue(_:)

func withValue(_ value: String?) -> YMMUserProfileUpdate

Updates the attribute value.

Parameters:
value

The name of the user profile. The maximum length of the user profile name is 100 characters.

Returns:

The instance of the YMMUserProfileUpdate class.

withValueReset()

func withValueReset() -> YMMUserProfileUpdate

Resets the attribute value.

Returns:

The instance of the YMMUserProfileUpdate class.