浏览代码

IPUShow工程更新IPUPeertube.Framework

huangyl3 4 年之前
父节点
当前提交
13b507a2c3

+ 1 - 0
IPUCommon/IPUPeertube.framework/Headers/IPUPeertube.h

@ -18,4 +18,5 @@ FOUNDATION_EXPORT const unsigned char IPUPeertubeVersionString[];
18 18
19 19
#import <IPUPeertube/IPUPeertubeSession.h>
20 20
#import <IPUPeertube/IPUPeerTubeVideoPlayerViewController.h>
21
#import <IPUPeertube/IPUPeertubeUI.h>
21 22

+ 41 - 1
IPUCommon/IPUPeertube.framework/Headers/IPUPeertubeSession.h

@ -50,6 +50,9 @@ NS_ASSUME_NONNULL_BEGIN
50 50
              tags:(NSArray *)tags
51 51
 completionHandler:(IPUPeertubeSessionRequestBlock)handler;
52 52
53
54
+ (void)removeSessionData;
55
53 56
/**
54 57
 获取用户信息
55 58
@ -76,6 +79,28 @@ NS_ASSUME_NONNULL_BEGIN
76 79
                 count:(int)count
77 80
    compeletionHandler:(IPUPeertubeSessionRequestBlock)handler;
78 81
82
+ (void)getShareVideos_debug:(int)start
83
                 count:(int)count
84
    compeletionHandler:(IPUPeertubeSessionRequestBlock)handler;
85
86
87
88
/// 搜索我的视频,通过关键字搜索。
89
/// @param keyword 关键词
90
/// @param start 起始索引
91
/// @param count 请求的个数
92
/// @param handler 操作完后的回调
93
+ (void)getSearchMeVideosByKeyword:(NSString *)keyword
94
                             start:(int)start
95
                             count:(int)count
96
                compeletionHandler:(IPUPeertubeSessionRequestBlock)handler;
97
98
99
+ (void)getSearchMeVideosByKeyword_debug:(NSString *)keyword
100
                                   start:(int)start
101
                                   count:(int)count
102
                      compeletionHandler:(IPUPeertubeSessionRequestBlock)handler;
103
79 104
80 105
/**
81 106
 获取用户的视频
@ -87,6 +112,10 @@ NS_ASSUME_NONNULL_BEGIN
87 112
              count:(int)count
88 113
 compeletionHandler:(IPUPeertubeSessionRequestBlock)handler;
89 114
115
+ (void)getMyVideos_debug:(int)start
116
                     count:(int)count
117
        compeletionHandler:(IPUPeertubeSessionRequestBlock)handler;
118
90 119
91 120
/**
92 121
 获取用户观看历史记录
@ -99,6 +128,10 @@ NS_ASSUME_NONNULL_BEGIN
99 128
                count:(int)count
100 129
   compeletionHandler:(IPUPeertubeSessionRequestBlock)handler;
101 130
131
+ (void)getMyHistorys_debug:(int)start
132
                      count:(int)count
133
         compeletionHandler:(IPUPeertubeSessionRequestBlock)handler;
134
102 135
103 136
/**
104 137
 获取用户观看历史记录(本地数据)
@ -149,7 +182,10 @@ NS_ASSUME_NONNULL_BEGIN
149 182
                           count:(int)count
150 183
              compeletionHandler:(IPUPeertubeSessionRequestBlock)handler;
151 184
152
185
+ (void)getSearchVideosByKeyword_debug:(NSString *)keyword
186
                                 start:(int)start
187
                                 count:(int)count
188
                    compeletionHandler:(IPUPeertubeSessionRequestBlock)handler;
153 189
154 190
/**
155 191
 上传视频
@ -222,6 +258,10 @@ NS_ASSUME_NONNULL_BEGIN
222 258
 @return 加完水印后的路径
223 259
 */
224 260
+ (NSString *)localVideoAddWaterMarkWithVideoPath:(NSString *)path;
261
262
263
/// token是否配置正常
264
+ (BOOL)normal;
225 265
@end
226 266
227 267
NS_ASSUME_NONNULL_END

+ 23 - 0
IPUCommon/IPUPeertube.framework/Headers/IPUPeertubeUI.h

@ -0,0 +1,23 @@
1
//
2
//  IPUPeertubeUI.h
3
//  IPUPeertube
4
//
5
//  Created by 黄玉林 on 2020/8/20.
6
//  Copyright © 2020 黄玉林. All rights reserved.
7
//
8
9
#import <Foundation/Foundation.h>
10
#import <UIKit/UIKit.h>
11
12
NS_ASSUME_NONNULL_BEGIN
13
14
@interface IPUPeertubeUI : NSObject
15
+ (void)showAlertContainTextfield:(NSString * _Nullable)title
16
                          message:(NSString * _Nullable)message
17
             textfiledPlaceholder:(NSArray * _Nullable)placeholders
18
                               vc:(UIViewController *)vc
19
                             sure:(void(^)(NSArray * contents, UIAlertController *alertController))sureBlock
20
                           cancel:(void(^)(void))cancelBlock;
21
@end
22
23
NS_ASSUME_NONNULL_END

二进制
IPUCommon/IPUPeertube.framework/IPUPeertube