# RemoteViews.RemoteView

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

# RemoteView

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/widget/RemoteViews.RemoteView "View this page in Java")  

```
@Target([AnnotationTarget.CLASS, AnnotationTarget.FILE]) class RemoteView
```

|--------------------------------------------------------------------------------------------------------------------------------|
| [android.widget.RemoteViews.RemoteView](https://developer.android.com/reference/kotlin/android/widget/RemoteViews.RemoteView#) |

This annotation indicates that a subclass of View is allowed to be used with the[RemoteViews](https://developer.android.com/reference/kotlin/android/widget/RemoteViews)mechanism.

## Summary

|                                                                                                                                            Public constructors                                                                                                                                            ||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [RemoteView](https://developer.android.com/reference/kotlin/android/widget/RemoteViews.RemoteView#RemoteView())`()` This annotation indicates that a subclass of View is allowed to be used with the[RemoteViews](https://developer.android.com/reference/kotlin/android/widget/RemoteViews)mechanism. |

## Public constructors

### RemoteView

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

```
RemoteView()
```

This annotation indicates that a subclass of View is allowed to be used with the[RemoteViews](https://developer.android.com/reference/kotlin/android/widget/RemoteViews)mechanism.