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, var > | extended |
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.
|
static |
Converts a JSON object to a PropertyRequestHeader.
Unspecified fields will use their default values.
Referenced by midi_ci::PropertyExchangeResult::getHeaderAsSubscriptionHeader().
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.
String midi_ci::PropertySubscriptionHeader::resource |
String midi_ci::PropertySubscriptionHeader::resId |
Encoding midi_ci::PropertySubscriptionHeader::mutualEncoding = Encoding::ascii |
String midi_ci::PropertySubscriptionHeader::mediaType = "application/json" |
PropertySubscriptionCommand midi_ci::PropertySubscriptionHeader::command { -1 } |
String midi_ci::PropertySubscriptionHeader::subscribeId |
std::map<Identifier, var> midi_ci::PropertySubscriptionHeader::extended |