package Ġcom . example . po cket dictionary . data . services Ċ Ċ import Ġcom . example . po cket dictionary . data . models . Detect Language Response Ċ import Ġcom . example . po cket dictionary . data . models . Translate Response Ċ import Ġio . reactivex . Single Ċ import Ġretrofit 2 . http . Field Ċ import Ġretrofit 2 . http . Form Url Encoded Ċ import Ġretrofit 2 . http . POST Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠTranslate Service Ġ{ ĊĊĠĠĠ Ġ@ Form Url Encoded ĊĠĠĠ Ġ@ POST (" translate ") ĊĠĠĠ Ġfun Ġtranslate (@ Query (" lang ") Ġlang : ĠString , Ġ@ Query (" key ") Ġkey : ĠString , Ġ@ Field (" text ") Ġtext : ĠString ): ĠSingle < Translate Response > ĊĊĠĠĠ Ġ@ Form Url Encoded ĊĠĠĠ Ġ@ POST (" detect ") ĊĠĠĠ Ġfun Ġdetect (@ Query (" key ") Ġkey : ĠString , Ġ@ Field (" text ") Ġtext : ĠString ): ĠSingle < Detect Language Response > Ċ }