기존 커뮤니티 페치

다음을 참조하십시오.

저장소에서 커뮤니티 오브젝트를 가져오려면 RAMSession.getCommunity(String name) 또는 RAMSession.getCommunity(int communityId)를 사용하십시오.

                //Fetch community by name
                RAMCommunity community = session.getCommunity("My Community");

                //Fetch community by database id
                community = session.getCommunity(25);

                //Fetch all communities
                RAMCommunity[] communities = session.getAllCommunities();

피드백