Commit 31150b86 by zhangyunjie

模拟器版空壳子

parent 964a95cb
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'OffcnLiveSDKiOS' s.name = 'OffcnLiveSDKiOS'
s.version = '2.5.3.2' s.version = '1.0.0.1000'
s.summary = 'OffcnLiveSDKiOS.' s.summary = 'OffcnLiveSDKiOS.'
s.description = <<-DESC s.description = <<-DESC
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
//#import "OffcnShareWindow.h" //#import "OffcnShareWindow.h"
static const NSString *OffcnLiveSDKVersion = @"2.5.3.2"; static const NSString *OffcnLiveSDKVersion = @"此版本为瘟疫版本不可用";
@interface OffcnPlaybackModel : NSObject @interface OffcnPlaybackModel : NSObject
//口令 //口令
...@@ -34,8 +34,11 @@ typedef NS_ENUM(NSUInteger, OffcnJumpMode) { ...@@ -34,8 +34,11 @@ typedef NS_ENUM(NSUInteger, OffcnJumpMode) {
OffcnJumpModePresent, OffcnJumpModePresent,
}; };
//直播间退出房间后回调
typedef void(^liveQuitCallBack)(NSString *password);
/** /**
回放观看进度回调 回放观看进度退出房间后回调
@param password 课程口令 @param password 课程口令
@param recentlyWatchValue 最近观看的秒数 @param recentlyWatchValue 最近观看的秒数
...@@ -44,6 +47,7 @@ typedef NS_ENUM(NSUInteger, OffcnJumpMode) { ...@@ -44,6 +47,7 @@ typedef NS_ENUM(NSUInteger, OffcnJumpMode) {
*/ */
typedef void(^playbackCallBack)(NSString *password, NSInteger recentlyWatchValue, CGFloat maxWatchValue, NSInteger totalValue); typedef void(^playbackCallBack)(NSString *password, NSInteger recentlyWatchValue, CGFloat maxWatchValue, NSInteger totalValue);
@interface OffcnLiveSDK : NSObject @interface OffcnLiveSDK : NSObject
/** /**
...@@ -69,7 +73,10 @@ typedef void(^playbackCallBack)(NSString *password, NSInteger recentlyWatchValue ...@@ -69,7 +73,10 @@ typedef void(^playbackCallBack)(NSString *password, NSInteger recentlyWatchValue
*/ */
@property (nonatomic, assign) BOOL isTest; @property (nonatomic, assign) BOOL isTest;
//回放观看退出房间后进度回调 //直播间退出房间后回调
@property (nonatomic, copy) liveQuitCallBack offcnLiveQuitCallBack;
//回放观看进度退出房间后回调
@property (nonatomic, copy) playbackCallBack offcnPlaybackCallBack; @property (nonatomic, copy) playbackCallBack offcnPlaybackCallBack;
//回放观看过程中进度model(只在观看过程中有数据,退出房间后就被清空了) //回放观看过程中进度model(只在观看过程中有数据,退出房间后就被清空了)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment