File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -394,8 +394,10 @@ export interface AdsConsentInterface {
394394 /**
395395 * Helper method to call the UMP SDK methods to request consent information and load/present a
396396 * consent form if necessary.
397+ *
398+ * @param options An AdsConsentInfoOptions interface.
397399 */
398- gatherConsent ( ) : Promise < AdsConsentInfo > ;
400+ gatherConsent ( options ?: AdsConsentInfoOptions ) : Promise < AdsConsentInfo > ;
399401
400402 /**
401403 * Returns the value stored under the `IABTCF_TCString` key
@@ -520,13 +522,10 @@ export interface Spec extends TurboModule {
520522 showPrivacyOptionsForm ( ) : Promise < AdsConsentInfo > ;
521523 loadAndShowConsentFormIfRequired ( ) : Promise < AdsConsentInfo > ;
522524 getConsentInfo ( ) : Promise < AdsConsentInfo > ;
523- gatherConsent ( ) : Promise < AdsConsentInfo > ;
524525 getTCString ( ) : Promise < string > ;
525- getTCModel ( ) : Promise < TCModel > ;
526526 getGdprApplies ( ) : Promise < boolean > ;
527527 getPurposeConsents ( ) : Promise < string > ;
528528 getPurposeLegitimateInterests ( ) : Promise < string > ;
529- getUserChoices ( ) : Promise < AdsConsentUserChoices > ;
530529 reset ( ) : void ;
531530}
532531
You can’t perform that action at this time.
0 commit comments