mirror of
https://github.com/cubixle/iabtcfv2.git
synced 2026-04-30 11:08:49 +01:00
Create SegmentType and TcfVersion constants
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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
|
||||
)
|
||||
Reference in New Issue
Block a user