initialize
The main method, which allows you to initialize AppConsent with a default configuration or a custom configuration ACConfiguration like theme AppConsentTheme or force the application of GRPD whatever the region for example. By default, you will only need the appKey provided by the SFBX platform AND the callback onReady.
The onReady callback retrieves the AppConsent object once it is ready for use. It will enable you to use the CMP (consent management platform). At this point, you can either use com.sfbx.appconsent.AppConsent to display the CMP, or later use the com.sfbx.appconsent.ui.AppConsentSDK.getInstance method to retrieve the AppConsent object.
Parameters
The appKey provided by SFBX when you created the notice on the web platform
Allows you to specify certain options related to CMP display. For example, force CMP display or make your own visual modifications, such as logos or your own theme. This is an optional field.
Callback that will be triggered once the communication is established with your account and it is ready to retrieve your configuration