setContent #
Replaces the content of User.
setContent(data) #
Arguments | Type | Description |
---|---|---|
data | JSON Object | User content |
Return Value #
Returns the User
object.
Usage #
JSONObject newContent = new JSONObject()
.put("profileIds", new JSONArray()
.put("profileId")
);
user.setContent(newContent);
Edit this page on Github(opens new window)