Blame view

GumpLiveSDKDemo/GumpLiveSDK.framework/Versions/A/Headers/GumpLiveSDK.h 836 Bytes
faa61fc96   alexYang   Gump Live SDK Demo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
  //
  //  GumpLiveSDK.h
  //  GumpLiveSDK
  //
  //  Created by yanglele on 2017/9/27.
  //  Copyright © 2017年 yanglele. All rights reserved.
  //
  #import <UIKit/UIkit.h>
  #import <Foundation/Foundation.h>
  
  static NSString *viersion = @"1.0.0";
  
  
  @interface GumpLiveSDK : NSObject
  
  +(instancetype)instance;
  
  -(NSString *)version;
  //初始化直播悬浮view,并且开始播放
  -(void)increaseLiveViewAndStrtWithViewController:(UIViewController *)viewController
                           initialFrame:(CGRect)frame
                                  appID:(NSString *)appId
                                success:(void (^)(NSString *resultStr))success
                                failuer:(void (^)(NSString *errorStr))failure;
  
  //暂停播放
  - (void)pauseLivePlay;
  //恢复播放
  - (void)resumeLivePlay;
  //停止播放
  - (void)stopLivePlay;
  
  
  @end