com.plivo.api.models.call.actions.CallStreamGetSpecific 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.actions;
import com.plivo.api.models.base.VoiceGetter;
import retrofit2.Call;
public class CallStreamGetSpecific extends VoiceGetter {
public CallStreamGetSpecific(String id, String streamId) {
super(id, streamId);
}
@Override
protected Call obtainCall() {
return client().getVoiceApiService().callStreamGetSpecific(client().getAuthId(), id, secondaryId);
}
@Override
protected Call obtainFallback1Call() {
return client().getVoiceFallback1Service().callStreamGetSpecific(client().getAuthId(), id, secondaryId);
}
@Override
protected Call obtainFallback2Call() {
return client().getVoiceFallback2Service().callStreamGetSpecific(client().getAuthId(), id, secondaryId);
}
}