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 -- 设置游戏名称信息 |
79188b
|
32 |
/*! |
L |
33 |
DEPRECATED: aihep2.x版本已废弃 |
|
34 |
*/ |
|
35 |
- (void)setName:(nonnull NSString *)name __attribute__ ((deprecated)); |
4bd26c
|
36 |
|
H |
37 |
#pragma mark -- 设置SDK语言 |
|
38 |
- (void)setLanguage:(nonnull NSString *)language; |
1ac090
|
39 |
#pragma mark -- 设置SDK方向 |
L |
40 |
/* |
|
41 |
|
|
42 |
UIInterfaceOrientationMaskPortrait, // 设备(屏幕)直立 |
|
43 |
UIInterfaceOrientationMaskLandscapeLeft, // 设备(屏幕)向左横置 |
|
44 |
UIInterfaceOrientationMaskLandscapeRight, // 设备(屏幕)向右橫置 |
|
45 |
UIInterfaceOrientationMaskPortraitUpsideDown,// 设备(屏幕)直立,上下顛倒 |
|
46 |
UIInterfaceOrientationMaskLandscape, // 设备(屏幕)横置,包含向左和向右 |
|
47 |
UIInterfaceOrientationMaskAll, // 设备(屏幕)可以支持上下左右四个方向 |
|
48 |
UIInterfaceOrientationMaskAllButUpsideDown //设备(屏幕)可以支持上左右三个个方向,但不支持直立上下颠倒 |
|
49 |
|
|
50 |
*/ |
|
51 |
- (void)setSDKInterfaceOrientationMask:(NSUInteger)interfaceOrientationMask; |
|
52 |
|
|
53 |
#pragma mark -- 判断是否加载aihelp模块 |
|
54 |
- (BOOL) isOpenAiHelp; |
|
55 |
|
|
56 |
#pragma mark -- 打开aihelp |
|
57 |
- (void) openAiHelp:(NSString * _Nonnull )language; |
|
58 |
|
|
59 |
|
|
60 |
#pragma mark -- 打开aihelp 扩展是否为vip |
|
61 |
- (void) openAiHelp:(NSString * _Nonnull )language isVip:(BOOL)vip; |
|
62 |
|
4bd26c
|
63 |
|
H |
64 |
@end |