public class CallDtmfCreator extends VoiceCreator<CallDtmfCreateResponse>
plivoClient| Constructor and Description |
|---|
CallDtmfCreator(java.lang.String id,
java.lang.String digits) |
| Modifier and Type | Method and Description |
|---|---|
CallDtmfCreator |
client(PlivoClient plivoClient) |
java.lang.String |
digits() |
LegSpecifier |
leg() |
CallDtmfCreator |
leg(LegSpecifier leg) |
protected retrofit2.Call<CallDtmfCreateResponse> |
obtainCall() |
protected retrofit2.Call<CallDtmfCreateResponse> |
obtainFallback1Call() |
protected retrofit2.Call<CallDtmfCreateResponse> |
obtainFallback2Call() |
CallDtmfCreateResponse |
sendDigits() |
createclient, handleResponse, validatepublic CallDtmfCreator(java.lang.String id, java.lang.String digits)
public java.lang.String digits()
public LegSpecifier leg()
public CallDtmfCreator leg(LegSpecifier leg)
protected retrofit2.Call<CallDtmfCreateResponse> obtainCall()
obtainCall in class VoiceCreator<CallDtmfCreateResponse>protected retrofit2.Call<CallDtmfCreateResponse> obtainFallback1Call()
obtainFallback1Call in class VoiceCreator<CallDtmfCreateResponse>protected retrofit2.Call<CallDtmfCreateResponse> obtainFallback2Call()
obtainFallback2Call in class VoiceCreator<CallDtmfCreateResponse>public CallDtmfCreateResponse sendDigits() throws java.io.IOException, PlivoRestException
java.io.IOExceptionPlivoRestExceptionpublic CallDtmfCreator client(PlivoClient plivoClient)
client in class VoiceCreator<CallDtmfCreateResponse>