Enumerations

The following enumerations are available globally.

Standalone shared types

  • The mode which controls how client-side tracking requests are managed. If set to PLAYHEAD, the current playhead position will be included as a request query parameter to allow the server sending only the tracking info for ads close to the current playhead position. If set to PAGINATION, a pagination token will be included as a request query parameter to allow the server to avoid resending tracking info that was already transmitted. If set to FULL, the server would send tracking info for all ads that exist in the manifest window. If left unspecified, the PAGINATION mode would be chosen by default.

    In order to use the PLAYHEAD mode, the customer needs to open a support ticket with AWS to enable the feature in the MediaTailor Playback Configuration. When enabled, the server would return up to two avails that are closest to the current playhead position.

    See more

    Declaration

    Swift

    public enum AdTrackingMode : String
  • Log mode configuration for MediaTailor debug logging.

    Enables debug logs to troubleshoot MediaTailor ad insertion playback session issues. Reference: https://docs.aws.amazon.com/mediatailor/latest/ug/debug-log-mode.html#debug-active

    See more

    Declaration

    Swift

    public enum LogMode : String
  • Internal routing mode used by session providers and player builders.

    • serverFallback: QuickPlay path — AWS MediaTailor handles all ad tracking server-side, no Datazoom.
    • server: Datazoom-backed path with AWS MediaTailor server-side reporting.
    • client: Datazoom-backed path with client-side ad tracking.
    See more

    Declaration

    Swift

    public enum SessionReportingMode

Shared enums