
com.plivo.api.models.call.QueuedCallGetter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plivo-java Show documentation
Show all versions of plivo-java Show documentation
A Java SDK to make voice calls & send SMS using Plivo and to generate Plivo XML
package com.plivo.api.models.call;
import com.plivo.api.models.base.VoiceGetter;
import retrofit2.Call;
public class QueuedCallGetter extends VoiceGetter {
public QueuedCallGetter(String id) {
super(id);
}
@Override
protected Call obtainCall() {
return client().getVoiceApiService().queuedCallGet(client().getAuthId(), id);
}
@Override
protected Call obtainFallback1Call() {
return client().getVoiceFallback1Service().queuedCallGet(client().getAuthId(), id);
}
@Override
protected Call obtainFallback2Call() {
return client().getVoiceFallback2Service().queuedCallGet(client().getAuthId(), id);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy