commit | author | age
|
4bd26c
|
1 |
// |
H |
2 |
// WAICsc.h |
|
3 |
// WASdkIntf |
|
4 |
// |
|
5 |
// Created by hank on 2018/6/7. |
|
6 |
// Copyright © 2018年 GHW-T-01. All rights reserved. |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
|
|
11 |
@interface WAICsc : NSObject |
|
12 |
|
|
13 |
#pragma mark - 启动机器人客服界面 |
|
14 |
- (void)showElva:(nonnull NSString *)showConversationFlag config:(nullable NSMutableDictionary *)config; |
|
15 |
|
|
16 |
#pragma mark - 启动运营界面 |
|
17 |
- (void)showElvaOP:(nonnull NSString *)showConversationFlag config:(nullable NSMutableDictionary *)config; |
|
18 |
|
|
19 |
#pragma mark 展示全部FAQ菜单 |
|
20 |
- (void)showFAQs:(nullable NSMutableDictionary *)config; |
|
21 |
|
|
22 |
#pragma mark 展示FAQ分类 |
|
23 |
- (void)showFAQSection:(nonnull NSString *)sectionPublishId config:(nullable NSMutableDictionary *)config; |
|
24 |
|
|
25 |
#pragma mark 展示单条FAQ |
|
26 |
- (void)showSingleFAQ:(nonnull NSString *)faqId config:(nullable NSMutableDictionary *)config; |
|
27 |
|
|
28 |
#pragma mark - 进入人工客服界面 |
|
29 |
- (void)showConversation:(nullable NSMutableDictionary *)config; |
|
30 |
|
|
31 |
#pragma mark -- 设置游戏名称信息 |
|
32 |
- (void)setName:(nonnull NSString *)name; |
|
33 |
|
|
34 |
#pragma mark -- 设置SDK语言 |
|
35 |
- (void)setLanguage:(nonnull NSString *)language; |
1ac090
|
36 |
#pragma mark -- 设置SDK方向 |
L |
37 |
/* |
|
38 |
|
|
39 |
UIInterfaceOrientationMaskPortrait, // 设备(屏幕)直立 |
|
40 |
UIInterfaceOrientationMaskLandscapeLeft, // 设备(屏幕)向左横置 |
|
41 |
UIInterfaceOrientationMaskLandscapeRight, // 设备(屏幕)向右橫置 |
|
42 |
UIInterfaceOrientationMaskPortraitUpsideDown,// 设备(屏幕)直立,上下顛倒 |
|
43 |
UIInterfaceOrientationMaskLandscape, // 设备(屏幕)横置,包含向左和向右 |
|
44 |
UIInterfaceOrientationMaskAll, // 设备(屏幕)可以支持上下左右四个方向 |
|
45 |
UIInterfaceOrientationMaskAllButUpsideDown //设备(屏幕)可以支持上左右三个个方向,但不支持直立上下颠倒 |
|
46 |
|
|
47 |
*/ |
|
48 |
- (void)setSDKInterfaceOrientationMask:(NSUInteger)interfaceOrientationMask; |
|
49 |
|
|
50 |
#pragma mark -- 判断是否加载aihelp模块 |
|
51 |
- (BOOL) isOpenAiHelp; |
|
52 |
|
|
53 |
#pragma mark -- 打开aihelp |
|
54 |
- (void) openAiHelp:(NSString * _Nonnull )language; |
|
55 |
|
|
56 |
|
|
57 |
#pragma mark -- 打开aihelp 扩展是否为vip |
|
58 |
- (void) openAiHelp:(NSString * _Nonnull )language isVip:(BOOL)vip; |
|
59 |
|
4bd26c
|
60 |
|
H |
61 |
@end |