Update delegates to match new signature

This commit is contained in:
QuentinArguillere
2020-08-17 11:30:39 +02:00
parent d76ef9ea16
commit e5ec19d1ae
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ class LinphoneRegistrationDelegate: CoreDelegate {
var tutorialContext : LoginTutorialContext!
override func onRegistrationStateChanged(lc: Core, cfg: ProxyConfig, cstate: RegistrationState, message: String?) {
override func onRegistrationStateChanged(core lc: Core, proxyConfig cfg: ProxyConfig, state cstate: RegistrationState, message: String?) {
print("New registration state \(cstate) for user id \( String(describing: cfg.identityAddress?.asString()))\n")
if (cstate == .Ok)
{

View File

@@ -35,7 +35,7 @@ class LoggingUnit
class LinphoneLoggingServiceImpl: LoggingServiceDelegate {
var logsEnabled : BoolHolder!
override func onLogMessageWritten(logService: LoggingService, domain: String, lev: LogLevel, message: String) {
override func onLogMessageWritten(logService: LoggingService, domain: String, level: LogLevel, message: String) {
if (logsEnabled.value)
{
print("Logging service log: \(message)s\n")