Skip to content

Class: IncludeProperties ​

Whether the response carries Track Properties: the OK answering a SUBSCRIBE, TRACK_STATUS or FETCH, or each PUBLISH a SUBSCRIBE_TRACKS brings. With 0 the Track Properties field is still there, but empty. Allowed wire values: 0 or 1; any other value is a PROTOCOL_VIOLATION. Default (when omitted) is 1 (include them).

Implements ​

Constructors ​

Constructor ​

new IncludeProperties(include): IncludeProperties

Parameters ​

include ​

boolean

Returns ​

IncludeProperties

Properties ​

include ​

readonly include: boolean


TYPE ​

readonly static TYPE: IncludeProperties = MessageParameterType.IncludeProperties

Methods ​

toKeyValuePair() ​

toKeyValuePair(): KeyValuePair

Returns ​

KeyValuePair

Implementation of ​

Parameter.toKeyValuePair


fromKeyValuePair() ​

static fromKeyValuePair(pair): IncludeProperties | undefined

Parameters ​

pair ​

KeyValuePair

Returns ​

IncludeProperties | undefined