The second Android 11 Developer Preview is now available, test it out and share your feedback.

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.