FMIceLinkCandidateStats Class Reference
| Inherits from | FMIceLinkBaseStats : NSObject |
|---|---|
| Declared in | FMIceLinkCandidateStats.h FMIceLinkCandidateStats.m |
– deserializePropertiesWithKey:valueJson:
Deserializes the properties.
- (void)deserializePropertiesWithKey:(NSString *)key valueJson:(NSString *)valueJsonParameters
key |
The key. |
|---|---|
valueJson |
The value in JSON format. |
Discussion
Deserializes the properties.
Declared In
FMIceLinkCandidateStats.h
+ fromJsonArrayWithCandidatesJson:
Derializes an array of candidate stats from JSON.
+ (NSMutableArray *)fromJsonArrayWithCandidatesJson:(NSString *)candidatesJsonParameters
candidatesJson |
The candidates' stats JSON. @return |
|---|
Discussion
Derializes an array of candidate stats from JSON.
Declared In
FMIceLinkCandidateStats.h
+ fromJsonWithCandidateJson:
Derializes candidate stats from JSON.
+ (FMIceLinkCandidateStats *)fromJsonWithCandidateJson:(NSString *)candidateJsonParameters
candidateJson |
The candidate’s stats JSON. @return |
|---|
Discussion
Derializes candidate stats from JSON.
Declared In
FMIceLinkCandidateStats.h
– ipAddress
Gets the IP address.
- (NSString *)ipAddressDiscussion
Gets the IP address.
Declared In
FMIceLinkCandidateStats.h
– isHost
Gets whether the candidate is host/local.
- (bool)isHostDiscussion
Gets whether the candidate is host/local.
Declared In
FMIceLinkCandidateStats.h
– isReflexive
Gets whether the candidate is reflexive.
- (bool)isReflexiveDiscussion
Gets whether the candidate is reflexive.
Declared In
FMIceLinkCandidateStats.h
– isRelayed
Gets whether the candidate is relayed.
- (bool)isRelayedDiscussion
Gets whether the candidate is relayed.
Declared In
FMIceLinkCandidateStats.h
– priority
Gets the priority.
- (long long)priorityDiscussion
Gets the priority.
Declared In
FMIceLinkCandidateStats.h
– protocol
Gets the protocol.
- (FMIceLinkProtocolType)protocolDiscussion
Gets the protocol.
Declared In
FMIceLinkCandidateStats.h
– relatedIPAddress
Gets the related IP address.
- (NSString *)relatedIPAddressDiscussion
Gets the related IP address.
Declared In
FMIceLinkCandidateStats.h
– relatedPort
Gets the related [port](#//api/name/port).
- (int)relatedPortDiscussion
Gets the related [port](#//api/name/port).
Declared In
FMIceLinkCandidateStats.h
– serializePropertiesWithJsonObject:
Serializes the properties.
- (void)serializePropertiesWithJsonObject:(NSMutableDictionary<NSString*,NSString*> *)jsonObjectParameters
jsonObject |
The JSON object. |
|---|
Discussion
Serializes the properties.
Declared In
FMIceLinkCandidateStats.h
– toJson
Serializes this to JSON.
@return
- (NSString *)toJsonDiscussion
Serializes this to JSON.
@return
Declared In
FMIceLinkCandidateStats.h
+ toJsonArrayWithCandidates:
Serializes an array of candidate stats to JSON.
+ (NSString *)toJsonArrayWithCandidates:(NSMutableArray *)candidatesParameters
candidates |
The candidates' stats. @return |
|---|
Discussion
Serializes an array of candidate stats to JSON.
Declared In
FMIceLinkCandidateStats.h
+ toJsonWithCandidate:
Serializes candidate stats to JSON.
+ (NSString *)toJsonWithCandidate:(FMIceLinkCandidateStats *)candidateParameters
candidate |
The candidate’s stats. @return |
|---|
Discussion
Serializes candidate stats to JSON.
Declared In
FMIceLinkCandidateStats.h
– turnProtocol
Gets the [protocol](#//api/name/protocol) used by this candidate when communicating with a TURN (relay) server. If unknown or not a relayed candidate, defaults to ProtocolType.Unknown.
- (FMIceLinkProtocolType)turnProtocolDiscussion
Gets the [protocol](#//api/name/protocol) used by this candidate when communicating with a TURN (relay) server. If unknown or not a relayed candidate, defaults to ProtocolType.Unknown.
Declared In
FMIceLinkCandidateStats.h
– type
Gets the type.
- (FMIceLinkCandidateType)typeDiscussion
Gets the type.
Declared In
FMIceLinkCandidateStats.h