setPAConsent method

Future<void> setPAConsent(
  1. int consentType
)

TPPAGPAConsentType.Consent 填充 TPPAGPAConsentType.NoConsent 不填充 设置 Pangle 是否填充广告 (PangleSDK V7.1+)

Implementation

Future<void> setPAConsent(int consentType) async {
  Map arguments = {};
  arguments['consentType'] = consentType;
  TradplusSdk.channel.invokeMethod('tp_setPAConsent', arguments);
}