public interface CallServiceInterface
Modifier and Type | Method and Description |
---|---|
void |
createOutgoingCall(java.lang.String terminatorAddress,
CallApplicationListener callApplication,
OutgoingCallCreateInterface callInterface)
Deprecated.
CallApplicationListener is no longer used. Switch to CallService#createOutgoingCall(String, OutgoingCallCreateInterface) instead
|
void |
createOutgoingCall(java.lang.String terminatorAddress,
OutgoingCallCreateInterface callInterface)
This method is to create outgoing/mobile originated calls.
|
void |
createOutgoingCall(java.lang.String originatorAddress,
java.lang.String terminatorAddress,
CallApplicationListener callApplication,
OutgoingCallCreateInterface callInterface)
Deprecated.
CallApplicationListener is no longer used. Switch to CallService#createOutgoingCall(String, String, OutgoingCallCreateInterface) instead
|
void |
createOutgoingCall(java.lang.String originatorAddress,
java.lang.String terminatorAddress,
OutgoingCallCreateInterface callInterface)
This method is to create outgoing/mobile originated calls
|
void |
createOutgoingCall(java.lang.String callId,
java.lang.String originatorAddress,
java.lang.String terminatorAddress,
CallApplicationListener callApplication,
OutgoingCallCreateInterface callInterface)
Deprecated.
CallApplicationListener is no longer used. Switch to CallService#createOutgoingCall(String, String, String, OutgoingCallCreateInterface) instead
|
void |
createOutgoingCall(java.lang.String callId,
java.lang.String originatorAddress,
java.lang.String terminatorAddress,
OutgoingCallCreateInterface callInterface)
This method is to create outgoing/mobile originated calls and it will set callId for that call.
|
void |
createThreeWayCall(java.lang.String firstCallId,
java.lang.String secondCallId,
CallApplicationListener callApplication,
OutgoingCallCreateInterface callInterface)
Deprecated.
CallApplicationListener is no longer used. Switch to CallService#createThreeWayCall(String, String, OutgoingCallCreateInterface) instead
|
void |
createThreeWayCall(java.lang.String firstCallId,
java.lang.String secondCallId,
OutgoingCallCreateInterface callInterface)
This method creates 3-Way Call (a.k.a Ad-Hoc Conference Call).
|
ImmutableList<CallInterface> |
getActiveCalls()
Returns the active call objects.
|
void |
rotateCameraOrientationToPosition(ScreenOrientation orientation)
This Method is used for rotating outgoing video
|
void |
setCallApplication(CallApplicationListener callApplication)
Sets the call application interface which will be used to make call backs
to the application layer This method should be called immediately after
receiving the call service instance (for once)
|
void setCallApplication(CallApplicationListener callApplication) throws MobileException
callApplication
- the call back target implemented in the applicationMobileException
- when the application listener provided is nullCallApplicationListener
void createOutgoingCall(java.lang.String terminatorAddress, CallApplicationListener callApplication, OutgoingCallCreateInterface callInterface)
terminatorAddress
- address defining the target of the call (remote party)callApplication
- callInterface
- base interface for outgoing call creation eventscreateOutgoingCall(String, OutgoingCallCreateInterface)
void createOutgoingCall(java.lang.String terminatorAddress, OutgoingCallCreateInterface callInterface)
terminatorAddress
- address defining the target of the call (remote party)callInterface
- base interface for outgoing call creation eventsvoid createOutgoingCall(java.lang.String originatorAddress, java.lang.String terminatorAddress, CallApplicationListener callApplication, OutgoingCallCreateInterface callInterface)
originatorAddress
- address defining the source of the callterminatorAddress
- address defining the target of the call (remote party)callApplication
- callInterface
- base interface for outgoing call creation eventscreateOutgoingCall(String, String, OutgoingCallCreateInterface)
void createOutgoingCall(java.lang.String originatorAddress, java.lang.String terminatorAddress, OutgoingCallCreateInterface callInterface)
originatorAddress
- address defining the source of the callterminatorAddress
- address defining the target of the call (remote party)callInterface
- base interface for outgoing call creation eventsvoid createOutgoingCall(java.lang.String callId, java.lang.String originatorAddress, java.lang.String terminatorAddress, CallApplicationListener callApplication, OutgoingCallCreateInterface callInterface)
callId
- Id of call. If this set as null MobileSDK will generate a callId.originatorAddress
- address defining the source of the call.terminatorAddress
- address defining the target of the call (remote party).callApplication
- application listener for call service.callInterface
- base interface for outgoing call creation eventscreateOutgoingCall(String, String, String, OutgoingCallCreateInterface)
void createOutgoingCall(java.lang.String callId, java.lang.String originatorAddress, java.lang.String terminatorAddress, OutgoingCallCreateInterface callInterface)
callId
- Id of call. If this set as null MobileSDK will generate a callId.originatorAddress
- address defining the source of the call.terminatorAddress
- address defining the target of the call (remote party).callInterface
- base interface for outgoing call creation eventsvoid createThreeWayCall(java.lang.String firstCallId, java.lang.String secondCallId, CallApplicationListener callApplication, OutgoingCallCreateInterface callInterface)
firstCallId
- specifies the first call which will be joined to ThreeWay CallsecondCallId
- specifies the second call which will be joined to ThreeWay CallcallApplication
- application listener for call service.callInterface
- base interface for outgoing call creation eventscreateThreeWayCall(String, String, OutgoingCallCreateInterface)
void createThreeWayCall(java.lang.String firstCallId, java.lang.String secondCallId, OutgoingCallCreateInterface callInterface)
firstCallId
- specifies the first call which will be joined to ThreeWay CallsecondCallId
- specifies the second call which will be joined to ThreeWay CallcallInterface
- base interface for outgoing call creation eventsvoid rotateCameraOrientationToPosition(ScreenOrientation orientation)
orientation
- is the orientation for the cameraImmutableList<CallInterface> getActiveCalls()