Class Connection

    • Method Detail

      • getConnectionId

        public java.lang.String getConnectionId()
        Returns:
        The unique ID for this connection.
      • getData

        public java.lang.String getData()
        Returns:
        A string containing metadata describing the connection. You can add this connection data when you create a token.
      • getCreationTime

        public java.util.Date getCreationTime()
        Returns:
        Returns the time at which the connection was created on the OpenTok server.
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • equals

        public boolean equals​(@Nullable
                              java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object