IATSDKAPIClient.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using AnyThinkAds.Api;
  5. namespace AnyThinkAds.Common
  6. {
  7. public interface IATSDKAPIClient
  8. {
  9. void initSDK(string appId, string appKey);
  10. void initSDK(string appId, string appKey, ATSDKInitListener listener);
  11. void showDebuggerUI();
  12. void showDebuggerUI(string debugKey);
  13. void getUserLocation(ATGetUserLocationListener listener);
  14. void setGDPRLevel(int level);
  15. void showGDPRAuth();
  16. void showGDPRConsentDialog(ATConsentDismissListener listener);
  17. void addNetworkGDPRInfo(int networkType, string mapJson);
  18. void setChannel(string channel);
  19. void setSubChannel(string subchannel);
  20. void initCustomMap(string cutomMap);
  21. void setCustomDataForPlacementID(string customData, string placementID);
  22. void setLogDebug(bool isDebug);
  23. int getGDPRLevel();
  24. bool isEUTraffic();
  25. void deniedUploadDeviceInfo(string deniedInfo);
  26. void setExcludeBundleIdArray(string bundleIds);
  27. void setExcludeAdSourceIdArrayForPlacementID(string placementID, string adsourceIds);
  28. void setSDKArea(int area);
  29. void getArea(ATGetAreaListener listener);
  30. void setWXStatus(bool install);
  31. void setLocation(double longitude, double latitude);
  32. }
  33. }