Package io.rong.imkit.usermanage.group.create

## Class GroupCreateViewModel

- All Implemented Interfaces:

      public class GroupCreateViewModel

  功能描述: 创建群组ViewModel

  Since:

    5.12.0

  Author:

    rongcloud

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public final String` | `groupId` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `GroupCreateViewModel(Bundle arguments)` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getGroupId()` | 获取群组ID
    `void` | `)>createGroup(String groupName, OnDataChangeListener<CoreErrorCode> listener)` | 创建群组
    `void` | `)>createGroup(String groupName, OnDataChangeEnhancedListener<CoreErrorCode> listener)` | 创建群组

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GroupCreateViewModel

          GroupCreateViewModel(Bundle arguments)

  - ### Method Detail

    - #### getGroupId

           String getGroupId()

      获取群组ID

      Returns:

        群组ID

    - #### createGroup

          @Deprecated() void )>createGroup(String groupName, OnDataChangeListener<CoreErrorCode> listener)

      创建群组

      Parameters:
        `groupName` - 群组名称
        `listener` - 数据变化监听器

    - #### createGroup

           void )>createGroup(String groupName, OnDataChangeEnhancedListener<CoreErrorCode> listener)

      创建群组

      Parameters:
        `groupName` - 群组名称
        `listener` - 数据变化监听器