BBASMPlugin+History.h
1.53 KB
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
//
// BBASMPlugin+History.h
// SWAN
//
// Created by baidu on 2018/4/10.
// Copyright © 2018年 baidu. All rights reserved.
//
#import "BBASMPlugin.h"
@interface BBASMPlugin (History)
/**
* 描 述: 获取端上保存的小程序打开历史
* 示 例: baiduboxapp://swanAPI/getHistory?params=\$params&callback=\$callback
* 文 档: http://ft.baidu.com/#/scheme/swan_gethistory
* 备 注:
* ********** description ************
* @name: getHistory
* @authority: swanAPI
* @path: /getHistory
* @args: [{"name": "cb", "value": "string"}]
* @config: {"swan": {"web": {"invoke": "swan.message.url", "handler": "bridge"}, "jsc": {"invoke": "swan.method.url", "method": "_naSwan.bridge.postMessage"}}}
*/
- (void)getHistory:(BBASchemeDispatcher *)dispatcher;
/**
* 描 述: 删除端上保存的小程序打开历史
* 示 例: baiduboxapp://swanAPI/deleteHistory?params=\$params&callback=\$callback
* 文 档: http://ft.baidu.com/#/scheme/swan_deletehistory
* 备 注:
* ********** description ************
* @name: deleteHistory
* @authority: swanAPI
* @path: /deleteHistory
* @args: [{"name": "appid", "value": "string="},{"name": "appKey", "value": "string="},{"name": "type", "value": "string="}, {"name": "version", "value": "number="},{"name": "cb", "value": "string"}]
* @config: {"swan": {"web": {"invoke": "swan.message.url", "handler": "bridge"}, "jsc": {"invoke": "swan.method.url", "method": "_naSwan.bridge.postMessage"}}}
*/
- (void)deleteHistory:(BBASchemeDispatcher *)dispatcher;
@end