public interface

IX5WebBackForwardListClient

com.tencent.smtt.export.external.interfaces.IX5WebBackForwardListClient

Class Overview

历史记录变化回调接口类,可以用来维护历史记录列表, 设置方法参考 setWebBackForwardListClient(IX5WebBackForwardListClient)

Summary

Public Methods
abstract void onIndexChanged(IX5WebHistoryItem item, int index)
Notify the client that the item at index is now the current history item.
abstract void onNewHistoryItem(IX5WebHistoryItem item)
Notify the client that item has been added to the WebBackForwardList.
abstract void onRemoveHistoryItem(IX5WebHistoryItem obj)
Notify the client that item has been remove from the WebBackForwardList.

Public Methods

public abstract void onIndexChanged (IX5WebHistoryItem item, int index)

Notify the client that the item at index is now the current history item.

Parameters
item A WebHistoryItem
index The new history index

public abstract void onNewHistoryItem (IX5WebHistoryItem item)

Notify the client that item has been added to the WebBackForwardList.

Parameters
item The newly created WebHistoryItem

public abstract void onRemoveHistoryItem (IX5WebHistoryItem obj)

Notify the client that item has been remove from the WebBackForwardList.

Parameters
obj The removed WebHistoryItem