setName

abstract fun setName(newName: String): Completable

Set name of the wristband.

Wristband must be connected. Name must have at least one non whitespace character.

Name is UTF-8 string and it's maximum name length is 16 bytes. If it is longer then it will be truncated.

If there is no default wristband then GoBeNotSetException will be emitted.

If newName hasn't at least one non whitespace character then GoBeNameIsBlank will be emitted.

NOTE: User must be valid.

Return

Completable that completes when name has been updated

Parameters

newName

new wristband name