Connecting to a Project

Connect to a project using your authentication credentials.

  1. Get the project:
    String projectUriStr = "esp://localhost:19011/ws1/p1“;
    Uri uri = new Uri.Builder(projectUriStr).create();
    project = sdk.getProject(uri, credentials);
    
  2. Connect to the project:
     project.connect(60000);
    Here, 60000 refers to the time in milliseconds that the Server waits for the connection call to complete before timing out.