Class: SessionDataEvent

Constructor

SessionDataEvent

new SessionDataEvent(id, uri, language, value)

Parameter

id

string

uri

string

language

string

value

string

Properties

id

constant

string

The ID of the session data, representing the "DATA-ID" attribute. This should conform to a reverse DNS naming convention, such as "com.example.movie.title"; however, there is no central registration authority, so playlist authors should take care to choose a value that is unlikely to collide with others.

language

constant

string

The language of the session data, representing the "LANGUAGE" attribute. It contains a language tag RFC5646 (https://datatracker.ietf.org/doc/html/rfc8259) that identifies the language of "VALUE".

uri

constant

string

The URI of the session data, representing the "URI" attribute. It carries a resource relevant to this session data.

value

constant

string

The value of the session data, representing the "VALUE" attribute. It contains the data identified by "DATA-ID". If the language is specified, "VALUE" should contain a human-readable string written in the specified language.