From 6d8742046f04db48591ace087c35cca0228ae009 Mon Sep 17 00:00:00 2001
From: Aeline <liu9421wen@163.com>
Date: 星期六, 26 九月 2020 14:56:01 +0800
Subject: [PATCH] ss

---
 BuWanVideo2.0/GDT_iOS_SDK/GDTNativeExpressAd.h |   58 ++++++++++++++++++++++++++++++++++++----------------------
 1 files changed, 36 insertions(+), 22 deletions(-)

diff --git a/BuWanVideo2.0/GDT_iOS_SDK/GDTNativeExpressAd.h b/BuWanVideo2.0/GDT_iOS_SDK/GDTNativeExpressAd.h
index a40f05a..b06d267 100644
--- a/BuWanVideo2.0/GDT_iOS_SDK/GDTNativeExpressAd.h
+++ b/BuWanVideo2.0/GDT_iOS_SDK/GDTNativeExpressAd.h
@@ -10,21 +10,6 @@
 #import <UIKit/UIKit.h>
 #import "GDTSDKDefines.h"
 
-/**
- *  瑙嗛妯℃澘骞垮憡鎾斁鍣ㄧ姸鎬�
- *
- *  鎾斁鍣ㄥ彧鍙兘澶勪簬浠ヤ笅鐘舵�佷腑鐨勪竴绉�
- *
- */
-typedef NS_ENUM(NSUInteger, GDTMediaPlayerStatus) {
-    GDTMediaPlayerStatusInitial = 0,         // 鍒濆鐘舵��
-    GDTMediaPlayerStatusLoading = 1,         // 鍔犺浇涓�
-    GDTMediaPlayerStatusStarted = 2,         // 寮�濮嬫挱鏀�
-    GDTMediaPlayerStatusPaused = 3,          // 鐢ㄦ埛琛屼负瀵艰嚧鏆傚仠
-    GDTMediaPlayerStatusStoped = 4,          // 鎾斁鍋滄
-    GDTMediaPlayerStatusError = 5,           // 鎾斁鍑洪敊
-};
-
 @class GDTNativeExpressAdView;
 @class GDTNativeExpressAd;
 
@@ -79,15 +64,15 @@
 /**
  * 鍏ㄥ睆骞垮憡椤靛皢瑕佸叧闂�
  */
-- (void)nativeExpressAdViewWillDissmissScreen:(GDTNativeExpressAdView *)nativeExpressAdView;
+- (void)nativeExpressAdViewWillDismissScreen:(GDTNativeExpressAdView *)nativeExpressAdView;
 
 /**
  * 鍏ㄥ睆骞垮憡椤靛皢瑕佸叧闂�
  */
-- (void)nativeExpressAdViewDidDissmissScreen:(GDTNativeExpressAdView *)nativeExpressAdView;
+- (void)nativeExpressAdViewDidDismissScreen:(GDTNativeExpressAdView *)nativeExpressAdView;
 
 /**
- * 鍘熺敓妯℃澘骞垮憡鐐瑰嚮涔嬪悗搴旂敤杩涘叆鍚庡彴鏃跺洖璋�
+ * 璇﹁В:褰撶偣鍑诲簲鐢ㄤ笅杞芥垨鑰呭箍鍛婅皟鐢ㄧ郴缁熺▼搴忔墦寮�鏃惰皟鐢�
  */
 - (void)nativeExpressAdViewApplicationWillEnterBackground:(GDTNativeExpressAdView *)nativeExpressAdView;
 
@@ -138,16 +123,45 @@
 @property (nonatomic, assign) BOOL videoMuted;
 
 /**
+ *  瑙嗛璇︽儏椤垫挱鏀炬椂鏄惁闈欓煶銆傞粯璁O銆俵oadAd 鍓嶈缃��
+ */
+@property (nonatomic, assign) BOOL detailPageVideoMuted;
+
+/**
+ 璇锋眰瑙嗛鐨勬椂闀夸笅闄愶紝瑙嗛鏃堕暱鏈夋晥鍊艰寖鍥翠负[5,60]銆�
+ 浠ヤ笅涓ょ鎯呭喌浼氫娇鐢ㄧ郴缁熼粯璁ょ殑鏈�灏忓�艰缃紝1:涓嶈缃�  2:minVideoDuration澶т簬maxVideoDuration
+ */
+@property (nonatomic) NSInteger minVideoDuration;
+
+/**
+ 璇锋眰瑙嗛鐨勬椂闀夸笂闄愶紝瑙嗛鏃堕暱鏈夋晥鍊艰寖鍥翠负[5,60]銆�
+ */
+@property (nonatomic) NSInteger maxVideoDuration;
+
+@property (nonatomic, readonly) NSString *placementId;
+
+/**
+ *  鏋勯�犳柟娉�
+ *  璇﹁В锛歱lacementId - 骞垮憡浣� ID
+ *       adSize - 骞垮憡灞曠ず鐨勫楂�
+ */
+
+- (instancetype)initWithPlacementId:(NSString *)placementId adSize:(CGSize)size;
+
+/**
  *  鏋勯�犳柟娉�
  *  璇﹁В锛歛ppId - 濯掍綋 ID
  *       placementId - 骞垮憡浣� ID
  *       adSize - 骞垮憡灞曠ず鐨勫楂�
  */
-- (instancetype)initWithAppId:(NSString *)appId placementId:(NSString *)placementId adSize:(CGSize)size;
+- (instancetype)initWithAppId:(NSString *)appId placementId:(NSString *)placementId adSize:(CGSize)size GDT_DEPRECATED_MSG_ATTRIBUTE("鎺ュ彛鍗冲皢搴熷純锛岃浣跨敤 initWithPlacementId:adSize:");
 
 - (void)loadAd:(NSInteger)count;
 
-#pragma mark - DEPRECATED
-- (instancetype)initWithAppkey:(NSString *)appkey placementId:(NSString *)placementId adSize:(CGSize)size GDT_DEPRECATED_MSG_ATTRIBUTE("use initWithAppId:placementId:adSize instead.");
-
+/**
+ 杩斿洖骞垮憡骞冲彴鍚嶇О
+ 
+ @return 褰撲娇鐢ㄦ祦閲忓垎閰嶅姛鑳芥椂锛岀敤浜庡尯鍒嗗箍鍛婂钩鍙帮紱鏈娇鐢ㄦ椂涓虹┖瀛楃涓�
+ */
+- (NSString *)adNetworkName;
 @end

--
Gitblit v1.8.0