Native SDK
SPConsentEngine node added to your Scene or Group
Works in SceneGraph channels on Roku OS 10.0+
No package manager: copy three folders
No extra permissions, bs_libs entries or entitlements
SceneGraph · BrightScript · Roku OS 10.0+
Secure Privacy's Roku SDK is a SceneGraph component you copy into your channel. Check the viewer's consent status, show the banner or the preference center from your scene, and read the stored consent records through the TV Consent API. It needs Roku OS 10.0 or later and one manifest setting, rsg_version=1.2.

Roku OS minimum
Consent states tracked
Folders to copy
Manifest setting needed
Roku's Data Processing Policy requires channel publishers to obtain the consents the law requires. The SDK gives your channel the screens, the saved choice and the records.
SPConsentEngine node added to your Scene or Group
Works in SceneGraph channels on Roku OS 10.0+
No package manager: copy three folders
No extra permissions, bs_libs entries or entitlements
Banner with accept, deny and customize
Preference center listing frameworks and services
Essential services that viewers cannot deny
Privacy policy tab in the preferences screen
Status: pending, collected or recollection required
Recollection reason: expired or structure changed
Last consent time through getLastConsentedAt
Server-side records through the TV Consent API
Each feature below maps to a call or screen in the Roku SDK documentation, so your engineers can see exactly what they are adding.
Ask the engine whether consent is pending, collected or needs recollecting before your channel loads ads or analytics.
Show the banner from your scene with one action when consent is needed.
Let viewers review and change their choices service by service.
Know when a saved choice no longer applies, and why.
Gate one ad partner or analytics tool on its own consent package.
React to the viewer's choice the moment it happens.
Give viewers a way to ask about their data from inside the channel.
Read stored consent for audits and reconciliation.
Reset cleanly on logout and see what the SDK is doing during development.
Follow the Roku SDK guide: copy three folders, set one manifest line, initialise SPConsentEngine with your Application ID, then check status and show the banner.
In cmp.secureprivacy.ai open TV apps, select your app and copy Your Application ID from the Installation tab.
Unzip the latest SPRokuConsent package, then copy source/securePrivacy/, components/securePrivacy/ and the sp_* images into your channel. Keep the paths as they are.
Add rsg_version=1.2. No other permissions, bs_libs entries or entitlements are needed.
Create an SPConsentEngine node, append it to a Scene or Group, observe initResult and send the init action with your Application ID. A result code of 200 means the SDK is ready.
Automatically adapt legal templates and consent banners by location — compliant by default, seamless for users.
Privacy Laws Mapped & Monitored
Countries Covered
Continuously Updated Regulations
EU
California
2 laws
Brazil
Canada
UK
Singapore
South Africa
Thailand
Australia
Switzerland
Turkey
Virginia
Virginia Consumer Data Protection Act
Colorado
Colorado Privacy Act
Connecticut
Connecticut Data Privacy Act
Utah
Utah Consumer Privacy Act
Iowa
Iowa Consumer Data Protection Act
Texas
Texas Data Privacy and Security Act
Oregon
Oregon Consumer Privacy Act
Montana
Montana Consumer Data Privacy Act
Delaware
Delaware Personal Data Privacy Act
New Jersey
New Jersey Data Protection Act
New Hampshire
New Hampshire Data Privacy Act
China
Personal Information Protection Law
Japan
Act on Protection of Personal Information
South Korea
Personal Information Protection Act
New Zealand
Privacy Act 2020
Hong Kong
Personal Data Privacy Ordinance
Malaysia
Personal Data Protection Act
Philippines
Data Privacy Act
Indonesia
Personal Data Protection Act
Vietnam
Personal Data Protection Decree
India
Digital Personal Data Protection Act
Argentina
Personal Data Protection Law
Colombia
Personal Data Protection Law
Mexico
Federal Data Protection Law
Norway
Personal Data Act
Israel
Privacy Protection Law
Kenya
Data Protection Act
Morocco
Data Protection Law
Tennessee
Tennessee Information Protection Act
UAE
Personal Data Protection Law
Saudi Arabia
Personal Data Protection Law
| Feature | Secure Privacy SDK | Build in-house |
|---|---|---|
| Banner and preference center | Included in the SDK | Design, build and test on the remote |
| Consent states | Pending, collected, recollection required | Your own logic |
| Re-consent triggers | Expiry and service changes detected | Your own tracking |
| Data requests | Request Data form in the SDK | Separate build |
| Consent records | Stored server-side, queryable through the TV Consent API | Your own storage and API |
| Maintenance | SDK updates from Secure Privacy | Yours to maintain |
| Same platform as your tvOS and Android TV apps |
0+ native integrations and growing
How Roku's rules, signals and kids flags fit into your consent flow.
Yes. The Roku SDK is a SceneGraph component, SPConsentEngine, that you copy into your channel. It shows the banner and preference center and returns the viewer's consent status.
Copy the SDK, initialise it with your Application ID and show the banner on first launch.
Get exclusive insights on privacy laws, compliance strategies, and product updates delivered to your inbox