MediaSession.Callback.OnPlayFromUri(Uri, Bundle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Override to handle requests to play a specific media item represented by a URI.
[Android.Runtime.Register("onPlayFromUri", "(Landroid/net/Uri;Landroid/os/Bundle;)V", "GetOnPlayFromUri_Landroid_net_Uri_Landroid_os_Bundle_Handler", ApiSince=23)]
public virtual void OnPlayFromUri (Android.Net.Uri? uri, Android.OS.Bundle? extras);
[<Android.Runtime.Register("onPlayFromUri", "(Landroid/net/Uri;Landroid/os/Bundle;)V", "GetOnPlayFromUri_Landroid_net_Uri_Landroid_os_Bundle_Handler", ApiSince=23)>]
abstract member OnPlayFromUri : Android.Net.Uri * Android.OS.Bundle -> unit
override this.OnPlayFromUri : Android.Net.Uri * Android.OS.Bundle -> unit
Parameters
- uri
- Uri
- extras
- Bundle
- Attributes
Remarks
Override to handle requests to play a specific media item represented by a URI.
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.