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

WearableDrawerController

open class WearableDrawerController
kotlin.Any
   ↳ androidx.wear.widget.drawer.WearableDrawerController

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

Summary

Public methods

open Unit

Requests that the WearableDrawerView be closed.

open Unit

Requests that the WearableDrawerView be opened.

open Unit

Requests that the WearableDrawerView be peeked.

Public methods

closeDrawer

open fun closeDrawer(): Unit

Requests that the WearableDrawerView be closed.

openDrawer

open fun openDrawer(): Unit

Requests that the WearableDrawerView be opened.

peekDrawer

open fun peekDrawer(): Unit

Requests that the WearableDrawerView be peeked.