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

# SSLSessionBindingListener


`
public


interface
SSLSessionBindingListener
`


`


implements

https://developer.android.com/reference/java/util/EventListener


`

|---|
| javax.net.ssl.SSLSessionBindingListener |

<br />

*** ** * ** ***

This interface is implemented by objects which want to know when
they are being bound or unbound from a SSLSession. When either event
occurs via `https://developer.android.com/reference/javax/net/ssl/SSLSession#putValue(java.lang.String,%20java.lang.Object)`
or `https://developer.android.com/reference/javax/net/ssl/SSLSession#removeValue(java.lang.String)`, the event is communicated
through a SSLSessionBindingEvent identifying the session.
**See also:**

- `https://developer.android.com/reference/javax/net/ssl/SSLSession`
- `https://developer.android.com/reference/javax/net/ssl/SSLSessionBindingEvent`

## Summary

| ### Public methods ||
|---|---|
| ` abstract void` | ` https://developer.android.com/reference/javax/net/ssl/SSLSessionBindingListener#valueBound(javax.net.ssl.SSLSessionBindingEvent)(https://developer.android.com/reference/javax/net/ssl/SSLSessionBindingEvent event) ` This is called to notify the listener that it is being bound into an SSLSession. |
| ` abstract void` | ` https://developer.android.com/reference/javax/net/ssl/SSLSessionBindingListener#valueUnbound(javax.net.ssl.SSLSessionBindingEvent)(https://developer.android.com/reference/javax/net/ssl/SSLSessionBindingEvent event) ` This is called to notify the listener that it is being unbound from a SSLSession. |

## Public methods

### valueBound

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

```
public abstract void valueBound (SSLSessionBindingEvent event)
```

This is called to notify the listener that it is being bound into
an SSLSession.

<br />

| Parameters ||
|---|---|
| `event` | `SSLSessionBindingEvent`: the event identifying the SSLSession into which the listener is being bound. <br /> |

### valueUnbound

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

```
public abstract void valueUnbound (SSLSessionBindingEvent event)
```

This is called to notify the listener that it is being unbound
from a SSLSession.

<br />

| Parameters ||
|---|---|
| `event` | `SSLSessionBindingEvent`: the event identifying the SSLSession from which the listener is being unbound. <br /> |