Skip to main content
Download the native package for your architecture. Linux x86_64 includes libdoubledata_proxy.so; Windows x86_64 includes doubledata_proxy.dll. Both include doubledata_proxy.h.

Run the desktop example

Download desktop.py and configure application-sdk.json:
The Python 3/Tkinter example provides a scrollable notice, clickable privacy link, sharing status, pause, and withdrawal. On Windows, pass the DLL path.

Embed the example UI

The native client supplies the DoubleData notice. No application-authored notice or acceptance flag is required.

Use your own presenter

sharing_dialog is your app’s UI bridge. Return True only after explicit acceptance and False for decline or dismissal. Keep the complete text, operator, contact, and privacy link accessible. Use the full example for cancellation and shutdown handling.

Call the C API

present_notice receives the full JSON and returns DOUBLEDATA_CONSENT_ACCEPT, DOUBLEDATA_CONSENT_DECLINE, or DOUBLEDATA_CONSENT_DISMISS from the user’s choice. Free each returned error or status string with DoubleDataFreeString before reusing its pointer. Pause with DoubleDataStop, withdraw with DoubleDataWithdrawConsent, and close with DoubleDataDestroy. Await cleanup off the UI thread; retry destroy if cleanup fails. Participation flow.