YMAVMAPTimeOffset Class Reference

Inherits from NSObject
Declared in YMAVMAPTimeOffset.h


A class that contains information about the time for displaying an ad break. The timeOffset parameter value can be set in different ways:

  • Time in hh:mm:ss or hh:mm:ss.mmm format, where .mmm is the number of milliseconds. The parameter value specifies the offset from the start of the video timeline to the start of the ad break.
  • The percentage in the n% format, where n is the percentage of the timeline of the video that will be played before the start of the ad break.
  • Start/end — Specifies that the ad break should be played before or after the video.
  • Position — Specifies when to play the ad break if the time for playing the ad break is unknown, such as during live streaming. The order of each ad break is set in the #n format, where n is an integer (starting from 1). 1 means that the ad break should be played at the first opportunity, 2 — at the second opportunity, and so on.
  1. Properties
    1. rawValue



The timeOffset parameter’s raw value (received from the server).

@property (nonatomic, copy, readonly) NSString *rawValue

Generated by appledoc 2.2.1 (build 1334).