Files
openrtb/start_delay.go
T
2017-10-19 21:29:06 +03:00

21 lines
600 B
Go

package openrtb
// 5.12 Start Delay
//
// Various options for the video or audio start delay.
// If the start delay value is greater than 0, then the position is mid-roll and the value indicates the start delay.
type StartDelay int64
const (
// > 0 Mid-Roll (value indicates start delay in second)
StartDelayPreRoll StartDelay = 0 // Pre-Roll
StartDelayGenericMidRoll StartDelay = -1 // Generic Mid-Roll
StartDelayGenericPostRoll StartDelay = -2 // Generic Post-Roll
)
// PtrStartDelay returns pointer to passed argument.
func PtrStartDelay(d StartDelay) *StartDelay {
return &d
}