# WebChromeClient.CustomViewCallback

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

# WebChromeClient.CustomViewCallback

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/webkit/WebChromeClient.CustomViewCallback "View this page in Kotlin")\|Java

`
public
static


interface
WebChromeClient.CustomViewCallback
`  
`


`

|---------------------------------------------------|
| android.webkit.WebChromeClient.CustomViewCallback |

<br />

*** ** * ** ***

A callback interface used by the host application to notify the current page that its custom view has been dismissed.

## Summary

|                                                                                                     ### Public methods                                                                                                      ||
|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract void` | ` `[onCustomViewHidden](https://developer.android.com/reference/android/webkit/WebChromeClient.CustomViewCallback#onCustomViewHidden())`() ` Invoked when the host application dismisses the custom view. |

## Public methods

### onCustomViewHidden

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public abstract void onCustomViewHidden ()
```

Invoked when the host application dismisses the custom view.

<br />