Android SDK API Reference
Last updated: July 1, 2026
This reference covers the public CYBEXO Android SDK surface.
1. Initialization
Section titled “1. Initialization”CybexoCMP.initialize(activity, settingsId, onComplete?)
- call once during app startup
- requires a current
Activity - loads remote configuration and prepares consent state
- optional completion callback runs after initialization completes
Example:
import com.cybexo.cmp.CybexoCMP
CybexoCMP.initialize(this, "YOUR_SETTINGS_ID")2. Banner Controls
Section titled “2. Banner Controls”CybexoCMP.forceShowBanner(activity)
- opens consent UI/preferences for review or update
- useful for privacy settings screens and QA validation
Example:
CybexoCMP.forceShowBanner(this)3. Public Surface Policy
Section titled “3. Public Surface Policy”- User consent decisions should be made through the CYBEXO CMP UI.
- Keep consent action internals behind the SDK runtime.
- Provide a visible “Review Consent” entry in app privacy/settings.
4. TCF Output Notes
Section titled “4. TCF Output Notes”When IAB TCF is enabled for the property, the SDK manages TC string generation and storage for downstream ecosystem compatibility.
5. Lifecycle Notes
Section titled “5. Lifecycle Notes”- Initialize once; do not initialize repeatedly per screen.
- Reopen from a valid foreground
Activity. - Keep SDK logs disabled in production unless troubleshooting.