# WearableDrawerController

Artifact: [androidx.wear:wear](https://developer.android.com/jetpack/androidx/releases/wear) [View Source](https://cs.android.com/search?q=file:androidx/wear/widget/drawer/WearableDrawerController.java+class:androidx.wear.widget.drawer.WearableDrawerController) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear#1.1.0)

*** ** * ** ***


```
public class WearableDrawerController
```

<br />

*** ** * ** ***

Provides the ability to manipulate a `https://developer.android.com/reference/androidx/wear/widget/drawer/WearableDrawerView` position within a `https://developer.android.com/reference/androidx/wear/widget/drawer/WearableDrawerLayout`.

## Summary

| ### Public methods |
|---|---|
| `void` | `https://developer.android.com/reference/androidx/wear/widget/drawer/WearableDrawerController#closeDrawer()()` Requests that the `https://developer.android.com/reference/androidx/wear/widget/drawer/WearableDrawerView` be closed. |
| `void` | `https://developer.android.com/reference/androidx/wear/widget/drawer/WearableDrawerController#openDrawer()()` Requests that the `https://developer.android.com/reference/androidx/wear/widget/drawer/WearableDrawerView` be opened. |
| `void` | `https://developer.android.com/reference/androidx/wear/widget/drawer/WearableDrawerController#peekDrawer()()` Requests that the `https://developer.android.com/reference/androidx/wear/widget/drawer/WearableDrawerView` be peeked. |

## Public methods

### closeDrawer

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear#1.1.0)

```
public void closeDrawer()
```

Requests that the `https://developer.android.com/reference/androidx/wear/widget/drawer/WearableDrawerView` be closed.

### openDrawer

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear#1.1.0)

```
public void openDrawer()
```

Requests that the `https://developer.android.com/reference/androidx/wear/widget/drawer/WearableDrawerView` be opened.

### peekDrawer

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear#1.1.0)

```
public void peekDrawer()
```

Requests that the `https://developer.android.com/reference/androidx/wear/widget/drawer/WearableDrawerView` be peeked.