PlaybackState.CustomAction.Builder.SetExtras(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.
Set optional extras for the CustomAction.
[Android.Runtime.Register("setExtras", "(Landroid/os/Bundle;)Landroid/media/session/PlaybackState$CustomAction$Builder;", "")]
public Android.Media.Session.PlaybackState.CustomAction.Builder? SetExtras(Android.OS.Bundle? extras);
[<Android.Runtime.Register("setExtras", "(Landroid/os/Bundle;)Landroid/media/session/PlaybackState$CustomAction$Builder;", "")>]
member this.SetExtras : Android.OS.Bundle -> Android.Media.Session.PlaybackState.CustomAction.Builder
Parameters
- extras
- Bundle
Optional extras for the CustomAction.
Returns
this.
- Attributes
Remarks
Set optional extras for the CustomAction. These extras are meant to be consumed by a MediaController if it knows how to handle them. Keys should be fully qualified (e.g. "com.example.MY_ARG") to avoid collisions.
Android reference for android.media.session.PlaybackState.CustomAction.Builder.setExtras.
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.