package Ġcom . what 3 words . android wrapper . voice Ċ Ċ import Ġcom . what 3 words . jav aw rapper . response . API Error Ċ import Ġcom . what 3 words . jav aw rapper . response . Suggestion With Coordinates Ċ import Ġokhttp 3 . WebSocket Ċ Ċ interface ĠVoice Api Listener With Coordinates Ġ{ ĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠWhen ĠWebSocket Ġsuccessfully Ġdoes Ġthe Ġhandshake Ġwith ĠVoice API ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġfun Ġconnected ( socket : ĠWebSocket ) ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠWhen ĠVoice API Ġreceive Ġthe Ġrecording , Ġprocessed Ġit Ġand Ġretrieved Ġwhat 3 word Ġaddresses Ġwith Ġcoordinates ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġfun Ġsuggestions With Coordinates ( suggestions : ĠList < Suggestion With Coordinates >) ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠWhen Ġthere 's Ġan Ġerror Ġwith Ġthe ĠVoice API Ġconnection , Ġplease Ġfind Ġall Ġerrors Ġat : Ġhttps :// developer . what 3 words . com / voice - api / docs # error - handling ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġfun Ġerror ( message : ĠAPI Error ) Ċ } Ċ