Changing the Group Name

A group owner can change the name of their existing group with the changeName() method:

  • try {
      // Change the group name.
      group.changeName("myGroup2");
    } catch (GroupOperationException e) {
      // Handle the error.
    }
  • // Change the group name.
    group.changeName(new KiiGroupCallBack() {
      @Override
      public void onChangeNameCompleted(int token, KiiGroup group, Exception exception) {
        if (exception != null) {
          // Handle the error.
          return;
        }
      }
    }, "myGroup2");

The group name can be up to 190 characters. There is no restriction on the characters you can use. The group name can duplicate with the existing ones.

Changing the group name does not change the ID nor URI of the group.