676869707172737475
.put("speed", String.valueOf(speed)) .put("volume", String.valueOf(volume)); } public void speak(String apiKey) throws InterruptedException { new VoiceTextUrlConnectionClient() .execute(build(), apiKey) .play(); }
7273747576777879
} if (apiKey == null || apiKey.isEmpty()) { throw new IllegalArgumentException("'apiKey' is required."); } VoiceTextFields fields = build().put("text", text); return new VoiceTextUrlConnectionClient() .execute(fields, apiKey); }