Projekt Schafkopfpunktezähler: Erster Prototyp einer App, die dem Benutzer die Notwendigkeit des Punktezählens beim Schafkopfspiel abnimmt.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

api_server.java 482B

123456789101112131415161718192021
  1. package project.schafkopfzaehler_2;
  2. import okhttp3.MultipartBody;
  3. import project.schafkopfzaehler_2.POJO.POJOClass;
  4. import retrofit2.Call;
  5. import retrofit2.Callback;
  6. import retrofit2.http.Multipart;
  7. import retrofit2.http.POST;
  8. import retrofit2.http.Part;
  9. public interface api_server{
  10. @Multipart
  11. @POST("/face_detection/detect/")
  12. Call<POJOClass> uploadAttachment(@Part MultipartBody.Part filePart);
  13. void getData(Callback<POJOClass> response);
  14. }