Class SubscribedTrack

    • Method Detail

      • fromJson

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

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

        public final String getSid()
      • getParticipantSid

        public final String getParticipantSid()
      • getPublisherSid

        public final String getPublisherSid()
      • getRoomSid

        public final String getRoomSid()
      • getName

        public final String getName()
      • getEnabled

        public final Boolean getEnabled()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object