MediaSession.SetMetadata(MediaMetadata) 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.
Update the current metadata.
[Android.Runtime.Register("setMetadata", "(Landroid/media/MediaMetadata;)V", "")]
public void SetMetadata (Android.Media.MediaMetadata? metadata);
[<Android.Runtime.Register("setMetadata", "(Landroid/media/MediaMetadata;)V", "")>]
member this.SetMetadata : Android.Media.MediaMetadata -> unit
Parameters
- metadata
- MediaMetadata
The new metadata
- Attributes
Remarks
Update the current metadata. New metadata can be created using android.media.MediaMetadata.Builder
. This operation may take time proportional to the size of the bitmap to replace large bitmaps with a scaled down copy.
Java documentation for android.media.session.MediaSession.setMetadata(android.media.MediaMetadata)
.
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.