SoftPhoneFactoryCreateSoftPhone Method (SoftPhoneConfig, String) |
Creates a new softphone engine.
Namespace: Ozeki.VoIPAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static ISoftPhone CreateSoftPhone(
SoftPhoneConfig config,
string userAgent = null
)
Public Shared Function CreateSoftPhone (
config As SoftPhoneConfig,
Optional userAgent As String = Nothing
) As ISoftPhone
public:
static ISoftPhone^ CreateSoftPhone(
SoftPhoneConfig^ config,
String^ userAgent = nullptr
)
static member CreateSoftPhone :
config : SoftPhoneConfig *
?userAgent : string
(* Defaults:
let _userAgent = defaultArg userAgent null
*)
-> ISoftPhone
Parameters
- config
- Type: Ozeki.VoIPSoftPhoneConfig
Uses a configuratoin class to define RTP port range and local IP address. - userAgent (Optional)
- Type: SystemString
User-Agent value which the created softphone will use.
Return Value
Type:
ISoftPhoneSee Also