Class Call


  • public final class Call
    extends CommonCall
    Describes a call
    • 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 instead
        Get 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 call
        Adds 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 call
        Removes 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 muted
        Adds 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 muted
        Removes 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 call
        addPhoneNumberOptions - options bag containing caller alternate id
        Returns:
        a RemoteParticipant object representing the newly added participant