public ServiceCall < RecognitionJobs > checkJobs ( CheckJobsOptions checkJobsOptions ) { String [ ] pathSegments = { "v1/recognitions" } ; RequestBuilder builder = RequestBuilder . get ( RequestBuilder . constructHttpUrl ( getEndPoint ( ) , pathSegments ) ) ; Map < String , String > sdkHeaders = SdkCommon . getSdkHeaders ( "speech_to_text" , "v1" , "checkJobs" ) ; for ( Entry < String , String > header : sdkHeaders . entrySet ( ) ) { builder . header ( header . getKey ( ) , header . getValue ( ) ) ; } builder . header ( "Accept" , "application/json" ) ; if ( checkJobsOptions != null ) { } return createServiceCall ( builder . build ( ) , ResponseConverterUtils . getObject ( RecognitionJobs . class ) ) ; }
Check jobs .