Interface CallDetails


  • public interface CallDetails
    • Method Detail

      • getStartedTime

        java.util.Date getStartedTime()
        Returns the started time of the call.
        Returns:
        the started time of the call.
      • getEstablishedTime

        java.util.Date getEstablishedTime()
        Returns the time when the call was established.
        Returns:
        the established time of the call. Returns 0 if call is not yet established.
      • getEndedTime

        java.util.Date getEndedTime()
        Returns the ended time of the call.
        Returns:
        the ended time of the call. Returns 0 if call has not ended yet.
      • getDuration

        int getDuration()
        Returns the duration of the call in seconds.
        Returns:
        the call duration in seconds.
      • getEndCause

        CallEndCause getEndCause()
        Returns the cause of why a call ended, after it has ended.
        Returns:
        the CallEndCause to why a call ended.
      • isVideoOffered

        boolean isVideoOffered()
        Whether the caller has offered video.
        Returns:
        true if the caller has offered video, otherwise false.
      • getError

        SinchError getError()
        If the end cause is CallEndCause.FAILURE, then this method returns an error object that describes the error.
        Returns:
        an error object if an error occurred, otherwise null.