Class MediaRecording

    • Method Detail

      • fromJson

        public static MediaRecording fromJson​(String json,
                                              com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a MediaRecording object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        MediaRecording object represented by the provided JSON
      • fromJson

        public static MediaRecording fromJson​(InputStream json,
                                              com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a MediaRecording object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        MediaRecording object represented by the provided JSON
      • getAccountSid

        public final String getAccountSid()
      • getDuration

        public final Integer getDuration()
      • getProcessorSid

        public final String getProcessorSid()
      • getResolution

        public final String getResolution()
      • getSourceSid

        public final String getSourceSid()
      • getSid

        public final String getSid()
      • getMediaSize

        public final Long getMediaSize()
      • getStatusCallback

        public final URI getStatusCallback()
      • getStatusCallbackMethod

        public final HttpMethod getStatusCallbackMethod()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object