Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

WearableDrawerController

public class WearableDrawerController
extends Object

java.lang.Object
   ↳ androidx.wear.widget.drawer.WearableDrawerController


Provides the ability to manipulate a WearableDrawerView's position within a WearableDrawerLayout.

Summary

Public methods

void closeDrawer()

Requests that the WearableDrawerView be closed.

void openDrawer()

Requests that the WearableDrawerView be opened.

void peekDrawer()

Requests that the WearableDrawerView be peeked.

Inherited methods

Public methods

closeDrawer

public void closeDrawer ()

Requests that the WearableDrawerView be closed.

openDrawer

public void openDrawer ()

Requests that the WearableDrawerView be opened.

peekDrawer

public void peekDrawer ()

Requests that the WearableDrawerView be peeked.