CNBBASMJumpService.h
808 Bytes
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
35
36
37
38
39
40
41
42
43
//
// CNBBASMJumpService.h
// AFNetworking
//
// Created by CNLive on 2021/11/2.
//
#import <Foundation/Foundation.h>
#import <CNLiveBeeHive/BHServiceProtocol.h>
NS_ASSUME_NONNULL_BEGIN
@protocol CNBBASMJumpProtocol <NSObject,BHServiceProtocol>
/**
注册百度小程序
*/
- (void)registerBBASMManager:(NSDictionary *)launchOptions;
/**
打开百度小程序
*/
- (void)openBBASMModule:(NSString *)urlStr;
/**
支付宝支付回调
*/
- (BOOL)cashierHandleOpenUrl:(NSURL *)url;
/**
退出百度账号登录
*/
- (void)accountLogout;
@end
@interface CNBBASMJumpService : NSObject<CNBBASMJumpProtocol>
/**
分享百度小程序
*/
+ (void)shareBBASMWithParams:(NSDictionary *)params;
/**
获取Description的zip路径
*/
+ (NSString *)getPluginDescriptionPath;
@end
NS_ASSUME_NONNULL_END