Collaboration Engine 5.2.0.alpha1
Pre-release
Pre-release
·
557 commits
to main
since this release
This is the first pre-release of Collaboration Engine 5.2.
New Collaboration List operation and condition
ListOperation now supports the set operation and a new ifValue condition.
ListOperation op = ListOperation.set(key, "bar").ifValue(key, "foo");
list.apply(op).getCompletableFuture().thenAccept(success -> {
if (success) {
log("Operation applied");
} else {
log("Operation failed");
}
});This will change the value of the key to "bar" if and only if the current value of that key is "foo".
New convenience method in the avatar group component
CollaborationAvatarGroup now provides a method that returns an avatar for the local user.
Given an instance of CollaborationAvatarGroup:
Avatar avatar = avatarGroup.createOwnAvatar();