Package com.opentok

Class Render


  • public class Render
    extends java.lang.Object
    Represents an Experience Composer element response.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getCreatedAt()
      The time the Experience Composer started, expressed in milliseconds since the Unix epoch.
      java.lang.String getId()
      The Render ID.
      java.lang.String getProjectId()
      The Project ID.
      java.lang.String getReason()
      The reason field is only available when the status is either "stopped" or "failed".
      java.lang.String getResolution()
      The resolution of the Experience Composer (either "640x480", "1280x720", "480x640", or "720x1280").
      java.lang.String getSessionId()
      The Session ID.
      RenderStatus getStatus()
      The status of the Experience Composer.
      java.lang.String getStreamId()
      The ID of the composed stream being published.
      long getUpdatedAt()
      This timestamp matches the createdAt timestamp when calling OpenTok.getRender(String).
      java.lang.String getUrl()
      A publicly reachable URL controlled by the customer and capable of generating the content to be rendered without user intervention.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getId

        public java.lang.String getId()
        The Render ID.
      • getSessionId

        public java.lang.String getSessionId()
        The Session ID.
      • getProjectId

        public java.lang.String getProjectId()
        The Project ID.
      • getCreatedAt

        public long getCreatedAt()
        The time the Experience Composer started, expressed in milliseconds since the Unix epoch.
      • getUpdatedAt

        public long getUpdatedAt()
        This timestamp matches the createdAt timestamp when calling OpenTok.getRender(String).
      • getUrl

        public java.lang.String getUrl()
        A publicly reachable URL controlled by the customer and capable of generating the content to be rendered without user intervention.
      • getResolution

        public java.lang.String getResolution()
        The resolution of the Experience Composer (either "640x480", "1280x720", "480x640", or "720x1280").
      • getStatus

        public RenderStatus getStatus()
        The status of the Experience Composer.
      • getStreamId

        public java.lang.String getStreamId()
        The ID of the composed stream being published. The streamId is not available when the status is "starting" and may not be available when the status is "failed".
      • getReason

        public java.lang.String getReason()
        The reason field is only available when the status is either "stopped" or "failed". If the status is stopped, the reason field will contain either "Max Duration Exceeded" or "Stop Requested." If the status is failed, the reason will contain a more specific error message.