Update delegates to match new signature
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user