java/srcPubnubApi/com/pubnub/api/PubnubCore.java
/**
     * Listen for a message on multiple channel group.
     *
     * @param groups    to subscribe
     * @param callback  to call
     * @param timetoken to use for subscribing
     * @throws PubnubException
     */
Listen for a message on multiple channel group.
@param groups    to subscribe
@param callback  to call
@param timetoken to use for subscribing
@throws PubnubException
Listen for a message on multiple channel group . @param groups to subscribe @param callback to call @param timetoken to use for subscribing @throws PubnubException
public void channelGroupSubscribe(String[] groups, Callback callback, String timetoken)
            throws PubnubException {
        Hashtable args = new Hashtable();
        args.put("groups", groups);
        args.put("callback", callback);
        args.put("timetoken", timetoken);
        subscribe(args);
    }
public void channelGroupSubscribe ( String [ ] groups , Callback callback , String timetoken ) throws PubnubException { Hashtable args = new Hashtable ( ) ; args . put ( "groups" , groups ) ; args . put ( "callback" , callback ) ; args . put ( "timetoken" , timetoken ) ; subscribe ( args ) ; }
Listen for a message on multiple channel group.
Listen for a message on multiple channel group .