setStringAttribute abstract method

BatchProfileAttributeEditor setStringAttribute(
  1. String key,
  2. String value
)

Set a string 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. String attribute values are non-empty strings and can't be longer than 64 characters.

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

Implementation

BatchProfileAttributeEditor setStringAttribute(String key, String value);