BBASMPageHistoryAdapterProtocol.h 863 Bytes
//
//  BBASMPageHistoryAdapterProtocol.h
//  BBAMNP
//
//  Created by baidu on 2019/7/12.
//  Copyright © 2019 Baidu. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
 * 百度App内部产品所需实现接口
 **/
@protocol BBASMPageHistoryAdapterProtocol <NSObject>


/**
 * @brief 获取当前页面的 URLPath,同时用这个事件作为单页入历史的时机
 *
 * @param URL 当前页面 path
 * @param appKey 当前 appKey
 */
+ (void)pageInHistoryWithURL:(NSString *)URL appKey:(NSString *)appKey;

/**
 * @brief 添加一条单页入历史数据
 *
 * @param aTitle 当前页面标题
 * @param aImageLinks 当前页面配图
 * @param URL 当前页面 path
 * @param appKey 当前页面对应的appKey
 */
+ (void)replaceWithTitle:(NSString *)aTitle image:(NSString *)aImageLinks path:(NSString *)URL appKey:(NSString *)appKey;

@end