# Bindable

Summary:[Methods](https://developer.android.com/reference/android/support/test/espresso/remote/Bindable#pubmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/test/espresso/remote/Bindable#)  

# Bindable

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

`
public


interface
Bindable
`  
`


`

|-----------------------------------------------|
| android.support.test.espresso.remote.Bindable |

|---|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/test/espresso/remote/Bindable#)Known Indirect Subclasses [AtomAction](https://developer.android.com/reference/android/support/test/espresso/web/action/AtomAction)\<E\> |----------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------| | [AtomAction](https://developer.android.com/reference/android/support/test/espresso/web/action/AtomAction)\<E\> | A ViewAction which causes the provided Atom to be evaluated within a webview. | ||

<br />

*** ** * ** ***

Interface that can be implemented by classes that provide an[IBinder](https://developer.android.com/reference/android/os/IBinder.html).

## Summary

|                                                                                                                                                                                                         ### Public methods                                                                                                                                                                                                         ||
|----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract `[IBinder](https://developer.android.com/reference/android/os/IBinder.html) | ` `[getIBinder](https://developer.android.com/reference/android/support/test/espresso/remote/Bindable#getIBinder())`() `                                                                                                                                                                                                                   |
| ` abstract `[String](https://developer.android.com/reference/java/lang/String.html)    | ` `[getId](https://developer.android.com/reference/android/support/test/espresso/remote/Bindable#getId())`() `                                                                                                                                                                                                                             |
| ` abstract void`                                                                       | ` `[setIBinder](https://developer.android.com/reference/android/support/test/espresso/remote/Bindable#setIBinder(android.os.IBinder))`(`[IBinder](https://developer.android.com/reference/android/os/IBinder.html)` binder) ` Sets the[IBinder](https://developer.android.com/reference/android/os/IBinder.html)of the implementing class. |

## Public methods

### getIBinder

```
IBinder getIBinder ()
```

<br />

<br />

|                                                                                          Returns                                                                                           ||
|----------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------|
| [IBinder](https://developer.android.com/reference/android/os/IBinder.html) | the[IBinder](https://developer.android.com/reference/android/os/IBinder.html)of the implementing class. <br /> |

### getId

```
String getId ()
```

<br />

<br />

|                                                                                               Returns                                                                                                ||
|-------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|
| [String](https://developer.android.com/reference/java/lang/String.html) | the id of the[Bindable](https://developer.android.com/reference/android/support/test/espresso/remote/Bindable)class. <br /> |

### setIBinder

```
void setIBinder (IBinder binder)
```

Sets the[IBinder](https://developer.android.com/reference/android/os/IBinder.html)of the implementing class.

<br />

|                                                Parameters                                                 ||
|----------|-------------------------------------------------------------------------------------------------|
| `binder` | `IBinder`: the[IBinder](https://developer.android.com/reference/android/os/IBinder.html) <br /> |

-

  ## Interfaces

  - [Bindable](https://developer.android.com/reference/android/support/test/espresso/remote/Bindable)
  - [Converter](https://developer.android.com/reference/android/support/test/espresso/remote/Converter)
  - [EspressoRemoteMessage](https://developer.android.com/reference/android/support/test/espresso/remote/EspressoRemoteMessage)
  - [EspressoRemoteMessage.From](https://developer.android.com/reference/android/support/test/espresso/remote/EspressoRemoteMessage.From)
  - [EspressoRemoteMessage.To](https://developer.android.com/reference/android/support/test/espresso/remote/EspressoRemoteMessage.To)
  - [RemoteInteraction](https://developer.android.com/reference/android/support/test/espresso/remote/RemoteInteraction)
-

  ## Classes

  - [ConstructorInvocation](https://developer.android.com/reference/android/support/test/espresso/remote/ConstructorInvocation)
  - [EspressoRemote](https://developer.android.com/reference/android/support/test/espresso/remote/EspressoRemote)
  - [FieldDescriptor](https://developer.android.com/reference/android/support/test/espresso/remote/FieldDescriptor)
  - [GenericRemoteMessage](https://developer.android.com/reference/android/support/test/espresso/remote/GenericRemoteMessage)
  - [InteractionRequest](https://developer.android.com/reference/android/support/test/espresso/remote/InteractionRequest)
  - [InteractionRequest.Builder](https://developer.android.com/reference/android/support/test/espresso/remote/InteractionRequest.Builder)
  - [InteractionResponse](https://developer.android.com/reference/android/support/test/espresso/remote/InteractionResponse)
  - [InteractionResponse.Builder](https://developer.android.com/reference/android/support/test/espresso/remote/InteractionResponse.Builder)
  - [InteractionResponse.RemoteError](https://developer.android.com/reference/android/support/test/espresso/remote/InteractionResponse.RemoteError)
  - [NoopRemoteInteraction](https://developer.android.com/reference/android/support/test/espresso/remote/NoopRemoteInteraction)
  - [ProtoUtils](https://developer.android.com/reference/android/support/test/espresso/remote/ProtoUtils)
  - [RemoteDescriptor](https://developer.android.com/reference/android/support/test/espresso/remote/RemoteDescriptor)
  - [RemoteDescriptor.Builder](https://developer.android.com/reference/android/support/test/espresso/remote/RemoteDescriptor.Builder)
  - [RemoteDescriptorRegistry](https://developer.android.com/reference/android/support/test/espresso/remote/RemoteDescriptorRegistry)
  - [RemoteInteractionRegistry](https://developer.android.com/reference/android/support/test/espresso/remote/RemoteInteractionRegistry)
  - [TypeProtoConverters](https://developer.android.com/reference/android/support/test/espresso/remote/TypeProtoConverters)
-

  ## Enums

  - [InteractionResponse.Status](https://developer.android.com/reference/android/support/test/espresso/remote/InteractionResponse.Status)
-

  ## Exceptions

  - [NoRemoteEspressoInstanceException](https://developer.android.com/reference/android/support/test/espresso/remote/NoRemoteEspressoInstanceException)
  - [RemoteEspressoException](https://developer.android.com/reference/android/support/test/espresso/remote/RemoteEspressoException)
  - [RemoteProtocolException](https://developer.android.com/reference/android/support/test/espresso/remote/RemoteProtocolException)