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
  • 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
  • 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
  • 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