Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
asmack の初心者です。asmack のグループ タブでグループを作成するにはどうすればよいですか? ここに示すリンク を試しましたcreateGroup(String name)
createGroup(String name)
しかし、それはユーザータブでグループを作るだけのようです。
誰もそれを作る方法を知っていますか? アドバイスをありがとう。
あなたの質問については明確ではありませんが、createGroup(String groupName) を使用する場合は、次の方法を試すことができます。
Roster.createGroup(グループ名).addEntry(RosterEntry)
名簿グループを作成するときは、少なくとも 1 つのエントリ (RosterEntry) をグループに追加する必要があります。そうしないと保存されません。あなたの質問に答えてほしい