Package ai.rev.languageid
Interface LanguageIdInterface
-
public interface LanguageIdInterfaceThe LanguageIdInterface is a type-safe Retrofit interface that presents all the endpoints that are made to communicate with the Rev AI Language Identification API.
-
-
Field Summary
Fields Modifier and Type Field Description static StringREV_LANGUAGE_ID_CONTENT_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description retrofit2.Call<Void>deleteJob(String jobID)retrofit2.Call<LanguageIdJob>getJobDetails(String jobID)retrofit2.Call<List<LanguageIdJob>>getListOfJobs(Map<String,String> options)retrofit2.Call<LanguageIdResult>getResultObject(String jobID)retrofit2.Call<LanguageIdJob>submitJob(LanguageIdJobOptions options)retrofit2.Call<LanguageIdJob>submitJobLocalFile(okhttp3.MultipartBody.Part file, LanguageIdJobOptions options)
-
-
-
Field Detail
-
REV_LANGUAGE_ID_CONTENT_TYPE
static final String REV_LANGUAGE_ID_CONTENT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getJobDetails
@GET("jobs/{id}") retrofit2.Call<LanguageIdJob> getJobDetails(@Path("id") String jobID)
-
getListOfJobs
@GET("jobs") retrofit2.Call<List<LanguageIdJob>> getListOfJobs(@QueryMap Map<String,String> options)
-
getResultObject
@Headers("Accept: application/vnd.rev.languageid.v1.0+json") @GET("jobs/{id}/result") retrofit2.Call<LanguageIdResult> getResultObject(@Path("id") String jobID)
-
submitJob
@POST("jobs") retrofit2.Call<LanguageIdJob> submitJob(@Body LanguageIdJobOptions options)
-
submitJobLocalFile
@Multipart @POST("jobs") retrofit2.Call<LanguageIdJob> submitJobLocalFile(@Part okhttp3.MultipartBody.Part file, @Part("options") LanguageIdJobOptions options)
-
-