Code example for Invitation

Methods: getInvitationId

0
				Bundle extras = datas.getExtras( );
				Invitation invitation = extras.getParcelable( GamesClient.EXTRA_INVITATION );
 
			// 
				RoomConfig roomConfig = makeBasicRoomConfigBuilder( )
			               .setInvitationIdToAccept(invitation.getInvitationId())
			               .build();
				getGamesClient().joinRoom( roomConfig );
 
 
		} 
 
		/** 
		* 
		* 
		* @public 
		* @return	void 
		*/ 
		static public void handleInvitation_results( int resultCode , Intent datas ){
			trace("handleInvitation_results ::: "+resultCode+" = "+datas);
			trace("resultCode ::: "+resultCode+" == "+Activity.RESULT_OK);