Freigeben über


MediaController.Show Method

Definition

Overloads

Show()

Show the controller on screen.

Show(Int32)

Show the controller on screen.

Show()

Show the controller on screen.

[Android.Runtime.Register("show", "()V", "GetShowHandler")]
public virtual void Show ();
[<Android.Runtime.Register("show", "()V", "GetShowHandler")>]
abstract member Show : unit -> unit
override this.Show : unit -> unit
Attributes

Remarks

Show the controller on screen. It will go away automatically after 3 seconds of inactivity.

Java documentation for android.widget.MediaController.show().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Show(Int32)

Show the controller on screen.

[Android.Runtime.Register("show", "(I)V", "GetShow_IHandler")]
public virtual void Show (int timeout);
[<Android.Runtime.Register("show", "(I)V", "GetShow_IHandler")>]
abstract member Show : int -> unit
override this.Show : int -> unit

Parameters

timeout
Int32

The timeout in milliseconds. Use 0 to show the controller until hide() is called.

Attributes

Remarks

Show the controller on screen. It will go away automatically after 'timeout' milliseconds of inactivity.

Java documentation for android.widget.MediaController.show(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to