Class Call
- Object
-
- CommonCall
-
- Call
-
public final class Call extends CommonCall
Describes a call
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addOnIsMutedChangedListener(PropertyChangedListener listener)
Deprecated.Use OnOutgoingAudioStateChanged listener instead.void
addOnLocalVideoStreamsUpdatedListener(LocalVideoStreamsUpdatedListener listener)
Deprecated.Use onStateChanged in the VideoStream instead LocalVideoStreamsUpdated Event.RemoteParticipant
addParticipant(CommunicationIdentifier participant)
Add participant to an existing callRemoteParticipant
addParticipant(PhoneNumberIdentifier participant, AddPhoneNumberOptions addPhoneNumberOptions)
Add a PSTN participant to an existing call with ability to specify an participant phone hnumberList<LocalVideoStream>
getLocalVideoStreams()
Deprecated.Use getOutgoingVideoStreams insteadboolean
isMuted()
Deprecated.Use isOutgoingAudioMuted instead.void
removeOnIsMutedChangedListener(PropertyChangedListener listener)
Deprecated.Use OnOutgoingAudioStateChanged listener instead.void
removeOnLocalVideoStreamsUpdatedListener(LocalVideoStreamsUpdatedListener listener)
Deprecated.Use onStateChanged in the VideoStream instead LocalVideoStreamsUpdated Event.-
Methods inherited from class CommonCall
addOnIdChangedListener, addOnIncomingAudioStateChangedListener, addOnMutedByOthersListener, addOnOutgoingAudioStateChangedListener, addOnRemoteParticipantsUpdatedListener, addOnRoleChangedListener, addOnStartTimeUpdatedListener, addOnStateChangedListener, addOnTotalParticipantCountChangedListener, feature, finalize, getActiveIncomingAudioStream, getActiveOutgoingAudioStream, getCallEndReason, getCallerInfo, getCallLobby, getCallParticipantRole, getDirection, getId, getLiveOutgoingAudioFilters, getOutgoingVideoStreams, getRemoteParticipants, getStartTime, getState, getTotalParticipantCount, getType, hangUp, hangUp, hold, isIncomingAudioMuted, isOutgoingAudioMuted, mute, muteAllRemoteParticipants, muteIncomingAudio, muteOutgoingAudio, removeOnIdChangedListener, removeOnIncomingAudioStateChangedListener, removeOnMutedByOthersListener, removeOnOutgoingAudioStateChangedListener, removeOnRemoteParticipantsUpdatedListener, removeOnRoleChangedListener, removeOnStartTimeUpdatedListener, removeOnStateChangedListener, removeOnTotalParticipantCountChangedListener, removeParticipant, resume, sendDtmf, setTelecomManagerAudioRoute, setVideoConstraints, startAudio, startVideo, stopAudio, stopVideo, unmute, unmuteIncomingAudio, unmuteOutgoingAudio
-
-
-
-
Method Detail
-
isMuted
@Deprecated public boolean isMuted()
Deprecated.Use isOutgoingAudioMuted instead.Whether the local microphone is muted or not.
-
getLocalVideoStreams
@Deprecated public List<LocalVideoStream> getLocalVideoStreams()
Deprecated.Use getOutgoingVideoStreams insteadGet a list of local video streams in the current call.
-
addOnLocalVideoStreamsUpdatedListener
@Deprecated public void addOnLocalVideoStreamsUpdatedListener(LocalVideoStreamsUpdatedListener listener)
Deprecated.Use onStateChanged in the VideoStream instead LocalVideoStreamsUpdated Event. Occurs when Local video streams are added to or removed from a callAdds the specified listener to receive OnLocalVideoStreamsUpdated events.
-
removeOnLocalVideoStreamsUpdatedListener
@Deprecated public void removeOnLocalVideoStreamsUpdatedListener(LocalVideoStreamsUpdatedListener listener)
Deprecated.Use onStateChanged in the VideoStream instead LocalVideoStreamsUpdated Event. Occurs when Local video streams are added to or removed from a callRemoves the specified listener to receive OnLocalVideoStreamsUpdated events.
-
addOnIsMutedChangedListener
@Deprecated public void addOnIsMutedChangedListener(PropertyChangedListener listener)
Deprecated.Use OnOutgoingAudioStateChanged listener instead. isMutedChanged Event. Occurs when the call is mutedAdds the specified listener to receive OnIsMutedChanged events.
-
removeOnIsMutedChangedListener
@Deprecated public void removeOnIsMutedChangedListener(PropertyChangedListener listener)
Deprecated.Use OnOutgoingAudioStateChanged listener instead. isMutedChanged Event. Occurs when the call is mutedRemoves the specified listener to receive OnIsMutedChanged events.
-
addParticipant
public RemoteParticipant addParticipant(CommunicationIdentifier participant)
Add participant to an existing call- Parameters:
participant
- Identifier or the participant to add to the call- Returns:
- a RemoteParticipant object representing the newly added participant
-
addParticipant
public RemoteParticipant addParticipant(PhoneNumberIdentifier participant, AddPhoneNumberOptions addPhoneNumberOptions)
Add a PSTN participant to an existing call with ability to specify an participant phone hnumber- Parameters:
participant
- Identifier or the participant to add to the calladdPhoneNumberOptions
- options bag containing caller alternate id- Returns:
- a RemoteParticipant object representing the newly added participant
-
-