mirror of
https://github.com/cubixle/iabtcfv2.git
synced 2026-04-24 18:34:43 +01:00
29 lines
658 B
Go
29 lines
658 B
Go
package iabtcfv2
|
|
|
|
type SegmentType int
|
|
|
|
const (
|
|
SegmentTypeUndefined SegmentType = -1
|
|
SegmentTypeCoreString SegmentType = 0
|
|
SegmentTypeDisclosedVendors SegmentType = 1
|
|
SegmentTypeAllowedVendors SegmentType = 2
|
|
SegmentTypePublisherTC SegmentType = 3
|
|
)
|
|
|
|
type TcfVersion int
|
|
|
|
const (
|
|
TcfVersionUndefined TcfVersion = -1
|
|
TcfVersion1 TcfVersion = 1
|
|
TcfVersion2 TcfVersion = 2
|
|
)
|
|
|
|
type RestrictionType int
|
|
|
|
const (
|
|
RestrictionTypeNotAllowed RestrictionType = 0
|
|
RestrictionTypeRequireConsent RestrictionType = 1
|
|
RestrictionTypeRequireLI RestrictionType = 2
|
|
RestrictionTypeUndefined RestrictionType = 3
|
|
)
|