# ExternalInput

Artifact: [androidx.remotecallback:remotecallback](https://developer.android.com/jetpack/androidx/releases/remotecallback) [View Source](https://cs.android.com/search?q=file:androidx/remotecallback/ExternalInput.java+class:androidx.remotecallback.ExternalInput) Added in [1.0.0-alpha03](https://developer.android.com/jetpack/androidx/releases/remotecallback#1.0.0-alpha03) Deprecated in [1.0.0-alpha03](https://developer.android.com/jetpack/androidx/releases/remotecallback#1.0.0-alpha03)

*** ** * ** ***


```
@Target(value = ElementType.PARAMETER)
@Retention(value = RetentionPolicy.SOURCE)
public annotation ExternalInput
```

<br />

*** ** * ** ***

> [!CAUTION]
> **This annotation is deprecated.**   
>
> Slice framework has been deprecated, it will not receive any updates moving forward. If you are looking for a framework that handles communication across apps, consider using `https://developer.android.com/reference/android/app/appsearch/AppSearchManager.html`.

Identifies parameters of an `https://developer.android.com/reference/androidx/remotecallback/RemoteCallable` that will be pulled from the caller of the callback. The key to pull the value from will be specified in `https://developer.android.com/reference/androidx/remotecallback/ExternalInput#value()`. Any value passed to this parameter during creation of the callback will be ignored.

```
.
createRemoteCallback(context, "setSliderValue", R.id.slider_1, 0 /* ingored *\/);
createRemoteCallback(context, "setSliderValue", R.id.slider_2, 0 /* ingored *\/);
createRemoteCallback(context, "setSliderValue", R.id.slider_3, 0 /* ingored *\/);

\@RemoteCallable
public MyClass setSliderValue(int slideId, @ExternalInput int newValue) {
  ...
  return this;
}
```

## Summary

| ### Public methods |
|---|---|
| `abstract https://developer.android.com/reference/java/lang/String.html` | `[value](https://developer.android.com/reference/androidx/remotecallback/ExternalInput#value())()` **This method is deprecated.** Deprecated in Java |

## Public methods

### value

Added in [1.0.0-alpha03](https://developer.android.com/jetpack/androidx/releases/remotecallback#1.0.0-alpha03) Deprecated in [1.0.0-alpha03](https://developer.android.com/jetpack/androidx/releases/remotecallback#1.0.0-alpha03)

```
public abstract String [value](https://developer.android.com/reference/androidx/remotecallback/ExternalInput#value())()
```

> [!CAUTION]
> **This method is deprecated.**   
> Deprecated in Java

The key to pull the actual value of this parameter from.