mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-15 14:36:36 +03:00
21 lines
600 B
Go
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
|
|
}
|