Protocol
TalkCoreProvider
public protocol TalkCoreProvider: AnyObject
Main Talk
provider, responsible for the core calling API functionality.
Relationships
Conforms To
AnyObject
Types Conforming to TalkCoreProvider
Talk
An entry point into Talk SDK for iOS.
Requirements
lineStatus(digitalLine:completion:)
func lineStatus(digitalLine: DigitalLine, completion: @escaping (LineStatusResult) -> Void)
Provides asynchronous information about the status of a digital line associated with digitalLine
name, as defined in Talk Settings.
For more information about line status, see the LineStatus
documentation.
Parameters
Name | Type | Description |
---|---|---|
digitalLine | DigitalLine |
name of digital line configured by the admin in Talk Settings |
completion | @escaping (LineStatusResult) -> Void |
return |
call(callData:statusChangeHandler:)
func call(callData: CallData, statusChangeHandler: @escaping StatusChangeHandler) -> TalkCall
Initializes a call for provided call data.
After call is initialized or fails to connect a handler is called with matching result.
Parameters
Name | Type | Description |
---|---|---|
callData | CallData |
Details for the call which contain |
statusChangeHandler | @escaping StatusChangeHandler |
will be called on every call status change |
Returns
TalkCall
object representing the call, enabling to control it's various parameters as: DeviceOutput
, mute
or disconnect
.