java.lang.Object | |
↳ | android.support.customtabs.CustomTabsCallback |
A callback class for custom tabs client to get messages regarding events in their custom tabs.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | NAVIGATION_ABORTED | Sent when loading was aborted by a user action before it finishes like clicking on a link or refreshing the page. | |||||||||
int | NAVIGATION_FAILED | Sent when the tab couldn't finish loading due to a failure. | |||||||||
int | NAVIGATION_FINISHED | Sent when the tab has finished loading a page. | |||||||||
int | NAVIGATION_STARTED | Sent when the tab has started loading a page. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Unsupported callbacks that may be provided by the implementation.
| |||||||||||
To be called when a navigation event happens.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Sent when loading was aborted by a user action before it finishes like clicking on a link or refreshing the page.
Sent when the tab couldn't finish loading due to a failure.
Sent when the tab has finished loading a page.
Sent when the tab has started loading a page.
Unsupported callbacks that may be provided by the implementation.
Note:Clients should never rely on this callback to be called and/or to have a defined behavior, as it is entirely implementation-defined and not supported.
This can be used by implementations to add extra callbacks, for testing or experimental purposes.
callbackName | Name of the extra callback. |
---|---|
args | Arguments for the calback |
To be called when a navigation event happens.
navigationEvent | The code corresponding to the navigation event. |
---|---|
extras | Reserved for future use. |