Methods Summary |
---|
protected synchronized android.webkit.WebHistoryItem | clone()Clone the history item for use by clients of WebView.
return new WebHistoryItem(this);
|
public android.graphics.Bitmap | getFavicon()Return the favicon of this history item or null if no favicon was found.
return mFavicon;
|
byte[] | getFlattenedData()Get the pre-flattened data.
Note: The VM ensures 32-bit atomic read/write operations so we don't have
to synchronize this method.
return mFlattenedData;
|
public int | getId()Return an identifier for this history item. If an item is a copy of
another item, the identifiers will be the same even if they are not the
same object.
return mId;
|
public java.lang.String | getOriginalUrl()Return the original url of this history item. This was the requested
url, the final url may be different as there might have been
redirects while loading the site.
return mOriginalUrl;
|
public java.lang.String | getTitle()Return the document title of this history item.
return mTitle;
|
public java.lang.String | getUrl()Return the url of this history item. The url is the base url of this
history item. See getTargetUrl() for the url that is the actual target of
this history item.
return mUrl;
|
void | inflate(int nativeFrame)Inflate this item.
Note: The VM ensures 32-bit atomic read/write operations so we don't have
to synchronize this method.
inflate(nativeFrame, mFlattenedData);
|
private native void | inflate(int nativeFrame, byte[] data)
|
void | setFavicon(android.graphics.Bitmap icon)Set the favicon.
mFavicon = icon;
|
private void | update(java.lang.String url, java.lang.String originalUrl, java.lang.String title, android.graphics.Bitmap favicon, byte[] data)
mUrl = url;
mOriginalUrl = originalUrl;
mTitle = title;
mFavicon = favicon;
mFlattenedData = data;
|