Data channel information. More...
Instance Methods | |
(void) | - deserializePropertiesWithKey:valueJson: |
Deserializes the properties. More... | |
(instancetype) | - init |
(NSString *) | - label |
Gets the data channel label. More... | |
(bool) | - ordered |
Gets whether the data channel is ordered. More... | |
(FMLiveSwitchDataChannelReport *) | - report |
Gets the data channel report. More... | |
(void) | - serializePropertiesWithJsonObject: |
Serializes the properties. More... | |
(void) | - setLabel: |
Sets the data channel label. More... | |
(void) | - setOrdered: |
Sets whether the data channel is ordered. More... | |
(void) | - setReport: |
Sets the data channel report. More... | |
(void) | - setState: |
Sets the data channel state. More... | |
(void) | - setSubprotocol: |
Sets the data channel subprotocol. More... | |
(NSString *) | - state |
Gets the data channel state. More... | |
(NSString *) | - subprotocol |
Gets the data channel subprotocol. More... | |
(NSString *) | - toJson |
Serializes this instance to Json. More... | |
Instance Methods inherited from FMLiveSwitchInfo | |
(NSString *) | - id |
Gets the identifier. More... | |
(void) | - setId: |
Sets the identifier. More... | |
Class Methods | |
(FMLiveSwitchDataChannelInfo *) | + dataChannelInfo |
(NSMutableArray *) | + fromJsonArrayWithDataChannelInfosJson: |
Deserializes JSON to an array. More... | |
(FMLiveSwitchDataChannelInfo *) | + fromJsonWithDataChannelInfoJson: |
Deserializes Json to a DataChannelInfo. More... | |
(NSString *) | + toJsonArrayWithDataChannelInfos: |
Serializes an array to JSON. More... | |
(NSString *) | + toJsonWithDataChannelInfo: |
Serializes an instance to Json. More... | |
Class Methods inherited from FMLiveSwitchInfo | |
(FMLiveSwitchInfo *) | + info |
(NSMutableArray *) | + processArrayWithNewValues:oldValues: |
Processes an array for an info. More... | |
(NSMutableArray *) | + processBooleanArrayWithNewValues:oldValues: |
Processes a boolean array for an info. More... | |
(FMLiveSwitchNullableBool *) | + processBooleanWithNewValue:oldValue: |
Processes a boolean for an info. More... | |
(FMLiveSwitchNullableDouble *) | + processDoubleWithNewValue:oldValue: |
Processes a double for an info. More... | |
(NSMutableArray *) | + processFloatArrayWithNewValues:oldValues: |
Processes a float array for an info. More... | |
(FMLiveSwitchNullableFloat *) | + processFloatWithNewValue:oldValue: |
Processes a float for an info. More... | |
(NSMutableArray *) | + processIntegerArrayWithNewValues:oldValues: |
Processes a integer array for an info. More... | |
(FMLiveSwitchNullableInt *) | + processIntegerWithNewValue:oldValue: |
Processes an integer for an info. More... | |
(NSMutableArray *) | + processLongArrayWithNewValues:oldValues: |
Processes a long array for an info. More... | |
(FMLiveSwitchNullableLong *) | + processLongWithNewValue:oldValue: |
Processes a long for an info. More... | |
(NSObject< FMLiveSwitchIEquivalent > *) | + processObjectWithNewValue:oldValue: |
Processes an object for an info. More... | |
(NSMutableArray *) | + processShortArrayWithNewValues:oldValues: |
Processes a short array for an info. More... | |
(FMLiveSwitchNullableShort *) | + processShortWithNewValue:oldValue: |
Processes a short for an info. More... | |
(NSString *) | + processStringWithNewValue:oldValue: |
Processes a string for an info. More... | |
Data channel information.
+ (FMLiveSwitchDataChannelInfo*) dataChannelInfo |
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Implements FMLiveSwitchInfo.
+ (NSMutableArray*) fromJsonArrayWithDataChannelInfosJson: | (NSString *) | dataChannelInfosJson |
Deserializes JSON to an array.
dataChannelInfosJson | The serialized JSON. |
+ (FMLiveSwitchDataChannelInfo*) fromJsonWithDataChannelInfoJson: | (NSString *) | dataChannelInfoJson |
Deserializes Json to a DataChannelInfo.
dataChannelInfoJson | The serialized Json. |
- (instancetype) init |
Implements FMLiveSwitchInfo.
- (NSString*) label |
Gets the data channel label.
- (bool) ordered |
Gets whether the data channel is ordered.
- (FMLiveSwitchDataChannelReport*) report |
Gets the data channel report.
- (void) setLabel: | (NSString *) | value |
Sets the data channel label.
- (void) setOrdered: | (bool) | value |
Sets whether the data channel is ordered.
- (void) setReport: | (FMLiveSwitchDataChannelReport *) | value |
Sets the data channel report.
- (void) setState: | (NSString *) | value |
Sets the data channel state.
- (void) setSubprotocol: | (NSString *) | value |
Sets the data channel subprotocol.
- (NSString*) state |
Gets the data channel state.
- (NSString*) subprotocol |
Gets the data channel subprotocol.
- (NSString*) toJson |
Serializes this instance to Json.
+ (NSString*) toJsonArrayWithDataChannelInfos: | (NSMutableArray *) | dataChannelInfos |
Serializes an array to JSON.
dataChannelInfos | The array to serialize. |
+ (NSString*) toJsonWithDataChannelInfo: | (FMLiveSwitchDataChannelInfo *) | dataChannelInfo |
Serializes an instance to Json.
dataChannelInfo | The instance to serialize. |