Structures

The following structures are available globally.

CastEngine

  • Cast engine

    See more

    Declaration

    Swift

    public struct CastEngine : RawRepresentable, Hashable
  • Describes one playable channel entry for PlayerViewControllerAPI.

    See more

    Declaration

    Swift

    public struct ChannelItem
  • UI metadata displayed for channel-based playback experiences.

    See more

    Declaration

    Swift

    public struct ChannelMetadata : Decodable
  • The meta-data object is a dictionary that can contain arbitrary data.

    See more

    Declaration

    Swift

    public struct MetaData : Codable, Hashable

NextChannelInfo

  • Interstitial-view configuration used for channel up/down transitions.

    See more

    Declaration

    Swift

    public struct NextChannelInfo : Decodable

ChannelInterstitialViewInfo

  • Internal descriptor for building an interstitial view from XIB and tagged bindings.

    See more

    Declaration

    Swift

    public struct ChannelInterstitialViewInfo : Decodable
  • This object describes a text or thumbnail track that can be side loaded.

    See more

    Declaration

    Swift

    public struct SideloadedTrack : Codable, Hashable
  • Immutable ad-SDK tuning values applied when initializing ad playback.

    See more

    Declaration

    Swift

    public struct AdsSettings

AnalyticsAPI

  • A value type describing an error event to be sent to the analytics backend.

    Use this type to encapsulate the error code, human‑readable message, optional contextual metadata, and severity. Instances are typically created in error handling paths and forwarded via filterOutgoingErrorReport.

    See more

    Declaration

    Swift

    public struct AnalyticsErrorReport
  • The ABR Configuration

    Remark

    Usable in the Castlabs Player only. Has no effect on AVPlayer.
    See more

    Declaration

    Swift

    public struct AbrConfiguration : Codable, Hashable

PRESTOerror

  • Shared error-message templates used across SDK modules.

    Declaration

    Swift

    public struct ErrorMessage