setCCPADoNotSell method

Future<void> setCCPADoNotSell(
  1. bool canDataCollection
)

设置 CCPA等级 是否允许数据上报: ture 加州用户接受上报数据, false 加州用户均不上报数据

Implementation

Future<void> setCCPADoNotSell(bool canDataCollection) async {
  Map arguments = {};
  arguments['canDataCollection'] = canDataCollection;
  TradplusSdk.channel.invokeMethod('tp_setCCPADoNotSell', arguments);
}