yangchong211 6 ani în urmă
părinte
comite
1ff72b7637

+ 5 - 0
YCVideoPlayerLib/src/main/java/org/yczbj/ycvideoplayerlib/constant/ConstantKeys.java

@@ -27,7 +27,9 @@ public final class ConstantKeys {
         int TYPE_IJK = 111;
         int TYPE_NATIVE = 222;
     }
+
     @IntDef({IjkPlayerType.TYPE_IJK,IjkPlayerType.TYPE_NATIVE})
+    @Retention(RetentionPolicy.SOURCE)
     public @interface PlayerType{}
 
 
@@ -65,6 +67,7 @@ public final class ConstantKeys {
      * 6                暂停缓冲(播放器正在播放时,缓冲区数据不足,进行缓冲,此时暂停播放器,继续缓冲,缓冲区数据足够后恢复暂停
      * 7                播放完成
      */
+    @Retention(RetentionPolicy.SOURCE)
     public @interface CurrentState{
         int STATE_ERROR = -1;
         int STATE_IDLE = 0;
@@ -100,7 +103,9 @@ public final class ConstantKeys {
         int LOADING_RING = 1;
         int LOADING_QQ = 2;
     }
+
     @IntDef({Loading.LOADING_RING,Loading.LOADING_QQ})
+    @Retention(RetentionPolicy.SOURCE)
     public @interface LoadingType{}
 
 

+ 35 - 0
read/wiki1.md

@@ -13,8 +13,43 @@
 - 11.常见api说明
 
 
+### 01.最简单的播放
 
 
+### 02.竖屏全屏播放
+
+
+### 03.横屏全屏播放
+
+
+### 04.小窗口播放
+
+
+
+### 05.全屏播放切换视频清晰度
+
+
+
+### 06.在列表中播放
+
+
+### 07.在activity播放视频处理home键逻辑
+
+
+
+### 08.在fragment中播放
+
+
+### 09.显示视频top[分享,下载,更多按钮控件]
+
+
+
+### 10.全局悬浮播放视频
+
+
+
+### 11.常见api说明
+