Structures

The following structures are available globally.

  • Represents real-time call quality metrics derived from WebRTC statistics

    See more

    Declaration

    Swift

    public struct CallQualityMetrics

Call Report Data Models

  • Log entry for debug information captured during a call

    See more

    Declaration

    Swift

    public struct LogEntry : Codable
  • Codec metadata linked from an RTP statistics record.

    See more

    Declaration

    Swift

    public struct AudioCodecStats : Codable
  • Local audio-source telemetry linked from outbound RTP statistics.

    See more

    Declaration

    Swift

    public struct AudioMediaSourceStats : Codable
  • Statistics for outbound audio stream

    See more

    Declaration

    Swift

    public struct OutboundAudioStats : Codable
  • Statistics for inbound audio stream

    See more

    Declaration

    Swift

    public struct InboundAudioStats : Codable
  • Combined audio statistics for a reporting interval

    See more

    Declaration

    Swift

    public struct AudioStats : Codable
  • Connection statistics for a reporting interval

    See more

    Declaration

    Swift

    public struct ConnectionStats : Codable
  • A local or remote ICE candidate resolved from the selected candidate pair.

    See more

    Declaration

    Swift

    public struct ICECandidateStats : Codable
  • Selected ICE candidate-pair details. Field names mirror the JS SDK report.

    See more

    Declaration

    Swift

    public struct ICECandidatePairStats : Codable
  • DTLS/ICE transport snapshot for a reporting interval.

    See more

    Declaration

    Swift

    public struct TransportStats : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct MediaPlayoutStats : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct RemoteInboundRTCPStats : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct RemoteOutboundRTCPStats : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct RemoteRTCPStats : Codable
  • Statistics collected during a single reporting interval

    See more

    Declaration

    Swift

    public struct CallReportInterval : Codable
  • Summary information about the call

    See more

    Declaration

    Swift

    public struct CallReportSummary : Codable
  • JS-compatible, sanitized runtime configuration included with a call report. Keep this intentionally narrow: a call report must never contain ICE server credentials, authentication secrets, or user-provided sensitive values.

    See more

    Declaration

    Swift

    public struct CallReportClientSummary : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct CallReportConnectionSummary : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct CallReportMediaSummary : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct CallReportIceServerSummary : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct CallReportSettingsSummary : Codable
  • Complete call report payload sent to voice-sdk-proxy

    See more

    Declaration

    Swift

    public struct CallReportPayload : Codable

AnyCodable Helper

  • Helper type for encoding/decoding arbitrary JSON values

    See more

    Declaration

    Swift

    public struct AnyCodable : Codable
  • TxCallInfo contains the required information of the current Call

    See more

    Declaration

    Swift

    public struct TxCallInfo
  • Represents an audio codec capability that can be used for preferred codec selection This mirrors the RTCRtpCodecCapability structure from WebRTC

    See more

    Declaration

    Swift

    public struct TxCodecCapability : Codable, Equatable, Identifiable
  • This structure is intended to used for Telnyx SDK configurations.

    See more

    Declaration

    Swift

    public struct TxConfig
  • This class contains all the properties related to Push Notifications

    See more

    Declaration

    Swift

    public struct TxPushConfig
  • This class contains all the properties related to Server Confuguration from Push

    See more

    Declaration

    Swift

    public struct TxPushIPConfig
  • This class contains all the properties related to: Signaling server URL and STUN / TURN servers

    See more

    Declaration

    Swift

    public struct TxServerConfiguration
  • Represents a transcription item from AI assistant conversations (Android-compatible)

    See more

    Declaration

    Swift

    public struct TranscriptionItem
  • Represents widget settings for AI assistant interface

    See more

    Declaration

    Swift

    public struct WidgetSettings
  • Represents audio visualizer configuration

    See more

    Declaration

    Swift

    public struct AudioVisualizerConfig
  • Configuration options for the log collector

    See more

    Declaration

    Swift

    public struct LogCollectorConfig
  • Represents image URL data for AI assistant messages

    See more

    Declaration

    Swift

    public struct ImageURL
  • Represents conversation content for AI assistant messages

    See more

    Declaration

    Swift

    public struct ConversationContent
  • Represents a conversation item for AI assistant messages

    See more

    Declaration

    Swift

    public struct ConversationItem
  • Represents AI conversation parameters

    See more

    Declaration

    Swift

    public struct AiConversationParams
  • Data class to hold detailed reasons for call termination.

    See more

    Declaration

    Swift

    public struct CallTerminationReason
  • Configuration options for the call report collector

    See more

    Declaration

    Swift

    public struct CallReportConfig