Class RSNotification

An RSNotification is a message containing general information that does not require a response from the other side of the peer connection.

Hierarchy

  • RSNotification

Constructors

Properties

Methods

Constructors

  • Construct a RSNotification.

    Throws

    If data is null.

    Parameters

    • msgid: number = 0

      data transport message id

    • category: number = Category.Default

      A number representing the type of the data.

    • data: RSTaggedData

      A piece of unstructured data.

    Returns RSNotification

Properties

category: number

A number representing the type of the message.

Some unstructured data.

msgid: number

Message Id

Methods

  • Construct a RSNotification.

    Throws

    If data is null.

    Parameters

    • category: number = Category.Default

      A number representing the type of the data.

    • data: RSTaggedData

      A piece of unstructured data.

    Returns RSNotification