Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Done (0.15 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/Progress.java

            .build();
    
        final ProgressListener progressListener = new ProgressListener() {
          boolean firstUpdate = true;
    
          @Override public void update(long bytesRead, long contentLength, boolean done) {
            if (done) {
              System.out.println("completed");
            } else {
              if (firstUpdate) {
                firstUpdate = false;
                if (contentLength == -1) {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.9K bytes
    - Viewed (0)
  2. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.WebSocketListener;
    import okio.ByteString;
    
    /**
     * API access to the <a href="https://api.slack.com/apps">Slack API</a> as an application. One
     * instance of this class may operate without a user, or on behalf of many users. Use the Slack API
     * dashboard to create a client ID and secret for this application.
     *
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Jul 06 19:30:55 GMT 2018
    - 4.4K bytes
    - Viewed (1)
  3. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

              scopes, "UXXXXXXXX", "My Slack Group", "TXXXXXXXX");
          client.initOauthSession(session);
        }
    
        client.awaitAccessToken(Timeout.NONE);
        client.startRtm();
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.4K bytes
    - Viewed (0)
Back to top