public ArchiveList listArchives(String sessionId) throws OpenTokException {
        if (sessionId == null || sessionId.isEmpty() ) {
            throw new InvalidArgumentException("Session Id cannot be null or empty");
        }
        return listArchives(sessionId, 0, 1000);
    }
public ArchiveList listArchives ( String sessionId ) throws OpenTokException { if ( sessionId == null || sessionId . isEmpty ( ) ) { throw new InvalidArgumentException ( "Session Id cannot be null or empty" ) ; } return listArchives ( sessionId , 0 , 1000 ) ; }
Returns a List of {@link Archive} objects, representing archives that are both
both completed and in-progress, for your API key.

@param sessionId The sessionid of the session which started or automatically enabled archiving.
If the session is null or empty it will be omitted.
@return A List of {@link Archive} objects.