mirror of
https://github.com/cubixle/iabtcfv2.git
synced 2026-04-24 23:04:44 +01:00
Add IsSpecialFeatureAllowed(id int) to TCData
This commit is contained in:
@@ -16,6 +16,11 @@ type TCData struct {
|
|||||||
PublisherTC *PublisherTC
|
PublisherTC *PublisherTC
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Returns true if user has given consent to special feature id
|
||||||
|
func (t *TCData) IsSpecialFeatureAllowed(id int) bool {
|
||||||
|
return t.CoreString.IsSpecialFeatureAllowed(id)
|
||||||
|
}
|
||||||
|
|
||||||
// Returns true if user has given consent to purpose id
|
// Returns true if user has given consent to purpose id
|
||||||
func (t *TCData) IsPurposeAllowed(id int) bool {
|
func (t *TCData) IsPurposeAllowed(id int) bool {
|
||||||
return t.CoreString.IsPurposeAllowed(id)
|
return t.CoreString.IsPurposeAllowed(id)
|
||||||
|
|||||||
Reference in New Issue
Block a user