userAcceptAdLicense static method

Future<void> userAcceptAdLicense(
  1. bool isAcceptOrNot
)

Sets whether consent is obtained from users to use their device data and personal data specified in user agreements.

Implementation

static Future<void> userAcceptAdLicense(bool isAcceptOrNot) async {
  return await Ads.instance.channelVast.invokeMethod(
    'SdkFactory-userAcceptAdLicense',
    <String, dynamic>{
      'isAcceptOrNot': isAcceptOrNot,
    },
  );
}