暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

IPlatform.cs 1.1KB

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using UnityEngine.Advertisements.Events;
  4. using UnityEngine.Advertisements.Utilities;
  5. namespace UnityEngine.Advertisements.Platform
  6. {
  7. internal interface IPlatform
  8. {
  9. IBanner Banner { get; }
  10. IUnityLifecycleManager UnityLifecycleManager { get; }
  11. INativePlatform NativePlatform { get; }
  12. bool IsInitialized { get; }
  13. bool IsShowing { get; }
  14. string Version { get; }
  15. bool DebugMode { get; set; }
  16. void Initialize(string gameId, bool testMode, IUnityAdsInitializationListener initializationListener);
  17. void Load(string placementId, IUnityAdsLoadListener loadListener);
  18. void Show(string placementId, ShowOptions showOptions, IUnityAdsShowListener showListener);
  19. void SetMetaData(MetaData metaData);
  20. void OnUnityAdsShowFailure(string placementId, UnityAdsShowError error, string message);
  21. void OnUnityAdsShowStart(string placementId);
  22. void OnUnityAdsShowClick(string placementId);
  23. void OnUnityAdsShowComplete(string placementId, UnityAdsShowCompletionState completionState);
  24. }
  25. }