Class DataChannelClosedEvent

All Implemented Interfaces:
Event

public class DataChannelClosedEvent extends MediaEvent
Event fired when a data channel is closed.
  • Constructor Details

    • DataChannelClosedEvent

      public DataChannelClosedEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, int channelId)
      Event fired when a data channel is closed.
      Parameters:
      source - Object that raised the event
      timestampMillis - The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
      tags -
      type - Type of event that was raised
      channelId - The channel identifier
  • Method Details

    • getChannelId

      public int getChannelId()
      Getter for the channelId property
      Returns:
      The channel identifier *
    • setChannelId

      public void setChannelId(int channelId)
      Setter for the channelId property
      Parameters:
      channelId - The channel identifier