func toCallingStatus()

in AzureCommunicationUI/sdk/AzureCommunicationUICalling/Sources/Service/Calling/AzureCommunicationCalling/ACSCallingStateExtension.swift [9:34]


    func toCallingStatus() -> CallingStatus {
        switch self {
        case .none:
            return .none
        case .earlyMedia:
            return .earlyMedia
        case .connecting:
            return .connecting
        case .ringing:
            return .ringing
        case .connected:
            return .connected
        case .localHold:
            return .localHold
        case .disconnecting:
            return .disconnecting
        case .disconnected:
            return .disconnected
        case .inLobby:
            return .inLobby
        case .remoteHold:
            return .remoteHold
        default:
            return .none
        }
    }