Loading...
Searching...
No Matches
midi_ci::PropertySubscriptionHeader Struct Reference

A struct containing data members that correspond to common fields in a property subscription header. More...

#include <juce_CIPropertyDelegate.h>

Public Member Functions

var toVarCondensed () const
 Converts a PropertySubscriptionHeader to a JSON object suitable for use as a MIDI-CI message header after conversion to 7-bit ASCII.
 

Static Public Member Functions

static PropertySubscriptionHeader parseCondensed (const var &)
 Converts a JSON object to a PropertyRequestHeader.
 

Public Attributes

String resource
 
String resId
 
Encoding mutualEncoding = Encoding::ascii
 
String mediaType = "application/json"
 
PropertySubscriptionCommand command { -1 }
 
String subscribeId
 
std::map< Identifier, varextended
 

Detailed Description

A struct containing data members that correspond to common fields in a property subscription header.

Check the Property Exchange specification to find the meaning of the different fields.

Member Function Documentation

◆ parseCondensed()

static PropertySubscriptionHeader midi_ci::PropertySubscriptionHeader::parseCondensed ( const var & )
static

Converts a JSON object to a PropertyRequestHeader.

Unspecified fields will use their default values.

Referenced by midi_ci::PropertyExchangeResult::getHeaderAsSubscriptionHeader().

◆ toVarCondensed()

var midi_ci::PropertySubscriptionHeader::toVarCondensed ( ) const

Converts a PropertySubscriptionHeader to a JSON object suitable for use as a MIDI-CI message header after conversion to 7-bit ASCII.

Member Data Documentation

◆ resource

String midi_ci::PropertySubscriptionHeader::resource

◆ resId

String midi_ci::PropertySubscriptionHeader::resId

◆ mutualEncoding

Encoding midi_ci::PropertySubscriptionHeader::mutualEncoding = Encoding::ascii

◆ mediaType

String midi_ci::PropertySubscriptionHeader::mediaType = "application/json"

◆ command

PropertySubscriptionCommand midi_ci::PropertySubscriptionHeader::command { -1 }

◆ subscribeId

String midi_ci::PropertySubscriptionHeader::subscribeId

◆ extended

std::map<Identifier, var> midi_ci::PropertySubscriptionHeader::extended

The documentation for this struct was generated from the following file:
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram