次の方法で共有


MediaController.TransportControls.PlayFromUri(Uri, Bundle) Method

Definition

Request that the player start playback for a specific Uri.

[Android.Runtime.Register("playFromUri", "(Landroid/net/Uri;Landroid/os/Bundle;)V", "", ApiSince=23)]
public void PlayFromUri (Android.Net.Uri? uri, Android.OS.Bundle? extras);
[<Android.Runtime.Register("playFromUri", "(Landroid/net/Uri;Landroid/os/Bundle;)V", "", ApiSince=23)>]
member this.PlayFromUri : Android.Net.Uri * Android.OS.Bundle -> unit

Parameters

uri
Uri

The URI of the requested media.

extras
Bundle

Optional extras that can include extra information about the media item to be played.

Attributes

Remarks

Request that the player start playback for a specific Uri.

Java documentation for android.media.session.MediaController.TransportControls.playFromUri(android.net.Uri, android.os.Bundle).

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