QNMissedCallsRepository
public class QNMissedCallsRepository
Service to manage missed calls actions and subscribe to missed call events
-
Listener to receive new missed calls.
Declaration
Swift
public var newMissedCalls: ((Result<Int, ResourceError>) -> Void)?
-
Get missed calls.
Declaration
Swift
public func getMissedCalls(result: @escaping (Result<Int, ResourceError>) -> Void)
Parameters
result
Result with missed calls
-
Mark as read all missed calls.
Declaration
Swift
public func setReadMissedCalls(result: @escaping (Result<Void, ResourceError>) -> Void)
Parameters
result
Result with missed calls