setUrlAttribute abstract method

BatchUserDataEditor setUrlAttribute(
  1. String key,
  2. Uri value
)

Set a URL attribute for a key.

Attribute's key cannot be empty. It should be made of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.

While the value is an Uri instance, it must be a valid URL and must not be longer than 2048 characters.

Any attribute with an invalid key or value will be ignored.

Implementation

BatchUserDataEditor setUrlAttribute(String key, Uri value);