-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
64 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
package GDPR::IAB::TCFv2::Constants::SpecialFeature; | ||
use strict; | ||
use warnings; | ||
|
||
require Exporter; | ||
use base qw<Exporter>; | ||
|
||
use constant { | ||
Geolocation => 1, | ||
DeviceScan => 2, | ||
}; | ||
|
||
our @EXPORT_OK = qw< | ||
Geolocation | ||
DeviceScan | ||
>; | ||
|
||
our %EXPORT_TAGS = ( all => \@EXPORT_OK ); | ||
|
||
1; | ||
|
||
__END__ | ||
=head1 NAME | ||
GDPR::IAB::TCFv2::Constants::SpecialFeature - TCF v2.2 special features | ||
=head1 SYNOPSIS | ||
use strict; | ||
use warnings; | ||
use GDPR::IAB::TCFv2::Constants::SpecialFeature qw<:all>; | ||
use feature 'say'; | ||
say "Geolocation id is ". Geolocation; | ||
# Output: | ||
# Geolocation id is 1 | ||
=head1 CONSTANTS | ||
=head2 Geolocation | ||
Special feature id 1: Use precise geolocation data | ||
With your acceptance, your precise location (within a radius of less than 500 metres) may be used in support of the purposes explained in this notice. | ||
=head2 DeviceScan | ||
Special feature id 2: Actively scan device characteristics for identification | ||
With your acceptance, certain characteristics specific to your device might be requested and used to distinguish it from other devices (such as the installed fonts or plugins, the resolution of your screen) in support of the purposes explained in this notice. | ||
"description": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters