You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For apps written in Kotlin, binding to a MediaController contains some boilerplate as it currently returns a ListenableFuture. As per documentation, libraries typically provide suspend functions that wrap the ListenableFuture.
An example of such an addition to a library is the new suspend takePicture method in CameraX.
The text was updated successfully, but these errors were encountered:
For apps written in Kotlin, binding to a MediaController contains some boilerplate as it currently returns a
ListenableFuture
. As per documentation, libraries typically provide suspend functions that wrap theListenableFuture
.An example of such an addition to a library is the new suspend
takePicture
method in CameraX.The text was updated successfully, but these errors were encountered: