Functions
The following functions are available globally.
-
An utility function that translates
BCHChatClientStatevalues in a human readable string.Declaration
Objective-C
extern NSString *_Nonnull NSStringFromBCHChatClientState( BCHChatClientState state)Swift
func NSStringFromBCHChatClientState(_ state: BCHChatClientState) -> StringParameters
stateThe client state.
Return Value
A human readable string representing the value passed as argument.
-
An utility function that returns a human readable string from
BCXCallDirectionenumeration value.Declaration
Objective-C
extern NSString *_Nonnull NSStringFromBCXCallDirection( BCXCallDirection direction)Swift
func NSStringFromBCXCallDirection(_ direction: BCXCallDirection) -> StringParameters
directionThe direction value.
Return Value
A human readable string representing the value passed as argument.
-
An utility function that returns a human readable string from
BCXCallStateenumeration value.Declaration
Objective-C
extern NSString *_Nonnull NSStringFromBCXCallState(BCXCallState state)Swift
func NSStringFromBCXCallState(_ state: BCXCallState) -> StringParameters
stateThe state value.
Return Value
A human readable string representing the value passed as argument.
-
An utility function that returns a human readable string from
BCXCallEndReasonenumeration value.Declaration
Objective-C
extern NSString *_Nonnull NSStringFromBCXCallEndReason( BCXCallEndReason endReason)Swift
func NSStringFromBCXCallEndReason(_ endReason: BCXCallEndReason) -> StringParameters
endReasonThe end reason value.
Return Value
A human readable string representing the value passed as argument.
-
An utility function that returns a human readable string from
BCXDeclineReasonenumeration value.Declaration
Objective-C
extern NSString *_Nonnull NSStringFromBCXDeclineReason(BCXDeclineReason reason)Swift
func NSStringFromBCXDeclineReason(_ reason: BCXDeclineReason) -> StringParameters
reasonthe decline reason value.
Return Value
A human readable string representing the value passed as argument.
-
An utility function that returns a human readable string from
BCXCallTypeenumeration value.Declaration
Objective-C
extern NSString *_Nonnull NSStringFromBCXCallType(BCXCallType type)Swift
func NSStringFromBCXCallType(_ type: BCXCallType) -> StringParameters
typethe type value.
Return Value
A human readable string representing the value passed as argument.
-
An utility function that returns a human readable string from call participant state enumeration value
Declaration
Objective-C
extern NSString *_Nonnull NSStringFromBCXCallParticipantState( BCXCallParticipantState state)Swift
func NSStringFromBCXCallParticipantState(_ state: BCXCallParticipantState) -> StringParameters
statethe participant state value
Return Value
A human readable string representing the value passed as argument
-
An utility function that returns a human readable string from user state enumeration value
Declaration
Objective-C
extern NSString *_Nonnull NSStringFromBCXUserStatus(BCXUserStatus status)Swift
func NSStringFromBCXUserStatus(_ status: BCXUserStatus) -> StringParameters
statusThe user state enumeration value
Return Value
A human readable string representing the value passed as argument
-
An utility function that translates
BCXCallClientStatevalues in a human readable string.Declaration
Objective-C
extern NSString *_Nonnull NSStringFromBCXCallClientState( BCXCallClientState state)Swift
func NSStringFromBCXCallClientState(_ state: BCXCallClientState) -> StringParameters
stateThe client state.
Return Value
A human readable string representing the value passed as argument.
View on GitHub
Functions Reference