Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

MediaRouteControllerDialog

open class MediaRouteControllerDialog : AlertDialog
kotlin.Any
   ↳ android.app.Dialog
   ↳ androidx.appcompat.app.AppCompatDialog
   ↳ androidx.appcompat.app.AlertDialog
   ↳ androidx.mediarouter.app.MediaRouteControllerDialog

This class implements the route controller dialog for MediaRouter.

This dialog allows the user to control or disconnect from the currently selected route.

Summary

Public constructors
<init>(context: Context!)

<init>(context: Context!, theme: Int)

Public methods
open View!

Gets the media control view that was created by onCreateMediaControlView(Bundle).

open MediaSessionCompat.Token!

Gets the session to use for metadata and transport controls.

open MediaRouter.RouteInfo!

Gets the route that this dialog is controlling.

open Boolean

Returns whether to enable the volume slider and volume control using the volume keys when the route supports it.

open Unit

open View!
onCreateMediaControlView(savedInstanceState: Bundle!)

Provides the subclass an opportunity to create a view that will replace the default media controls for the currently playing content.

open Unit

open Boolean
onKeyDown(keyCode: Int, event: KeyEvent)

open Boolean
onKeyUp(keyCode: Int, event: KeyEvent)

open Unit

Sets whether to enable the volume slider and volume control using the volume keys when the route supports it.

Protected methods
open Unit
onCreate(savedInstanceState: Bundle!)

Inherited functions