FMLiveSwitchCandidateUtility Class Reference

Utility functions for candidate and candidate pair. More...

Instance Methods

(instancetype) - init
 

Class Methods

(FMLiveSwitchCandidatePairState) + candidatePairStateFromStringWithStateString:
 Convert string to CandidatePairState. More...
 
(NSString *) + candidatePairStateToStringWithState:
 Convert CandidatePairState to string. More...
 
(FMLiveSwitchCandidateUtility *) + candidateUtility
 
(FMLiveSwitchProtocolType) + protocolTypeFromStringWithProtocolTypeString:
 Convert string to ProtocolType. More...
 
(NSString *) + protocolTypeToStringWithProtocolType:
 Convert ProtocolType to string. More...
 
(FMLiveSwitchCandidateType) + typeFromStringWithTypeString:
 Convert string to CandidateType. More...
 
(NSString *) + typeToStringWithType:
 Convert CandidateType to string. More...
 

Detailed Description

Utility functions for candidate and candidate pair.

Method Documentation

◆ candidatePairStateFromStringWithStateString:

+ (FMLiveSwitchCandidatePairState) candidatePairStateFromStringWithStateString: (NSString *)  stateString

Convert string to CandidatePairState.

Parameters
stateString

◆ candidatePairStateToStringWithState:

+ (NSString*) candidatePairStateToStringWithState: (FMLiveSwitchCandidatePairState)  state

Convert CandidatePairState to string.

Parameters
state

◆ candidateUtility

+ (FMLiveSwitchCandidateUtility*) candidateUtility

◆ init

- (instancetype) init

◆ protocolTypeFromStringWithProtocolTypeString:

+ (FMLiveSwitchProtocolType) protocolTypeFromStringWithProtocolTypeString: (NSString *)  protocolTypeString

Convert string to ProtocolType.

Parameters
protocolTypeString

◆ protocolTypeToStringWithProtocolType:

+ (NSString*) protocolTypeToStringWithProtocolType: (FMLiveSwitchProtocolType)  protocolType

Convert ProtocolType to string.

Parameters
protocolType

◆ typeFromStringWithTypeString:

+ (FMLiveSwitchCandidateType) typeFromStringWithTypeString: (NSString *)  typeString

Convert string to CandidateType.

Parameters
typeString

◆ typeToStringWithType:

+ (NSString*) typeToStringWithType: (FMLiveSwitchCandidateType)  type

Convert CandidateType to string.

Parameters
type