diff --git a/src/specs/modules/NativeConsentModule.ts b/src/specs/modules/NativeConsentModule.ts index 44d01e26..05a3d9ed 100644 --- a/src/specs/modules/NativeConsentModule.ts +++ b/src/specs/modules/NativeConsentModule.ts @@ -394,8 +394,10 @@ export interface AdsConsentInterface { /** * Helper method to call the UMP SDK methods to request consent information and load/present a * consent form if necessary. + * + * @param options An AdsConsentInfoOptions interface. */ - gatherConsent(): Promise; + gatherConsent(options?: AdsConsentInfoOptions): Promise; /** * Returns the value stored under the `IABTCF_TCString` key @@ -520,13 +522,10 @@ export interface Spec extends TurboModule { showPrivacyOptionsForm(): Promise; loadAndShowConsentFormIfRequired(): Promise; getConsentInfo(): Promise; - gatherConsent(): Promise; getTCString(): Promise; - getTCModel(): Promise; getGdprApplies(): Promise; getPurposeConsents(): Promise; getPurposeLegitimateInterests(): Promise; - getUserChoices(): Promise; reset(): void; }