RemoteControlClient.MetadataEditor.Clear 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.
Caution
Use MediaMetadata instead together with MediaSession.
Clears all the metadata that has been set since the MetadataEditor instance was created
(with RemoteControlClient#editMetadata(boolean)
).
[Android.Runtime.Register("clear", "()V", "GetClearHandler")]
[System.Obsolete("Use MediaMetadata instead together with MediaSession.")]
public override void Clear ();
[<Android.Runtime.Register("clear", "()V", "GetClearHandler")>]
[<System.Obsolete("Use MediaMetadata instead together with MediaSession.")>]
override this.Clear : unit -> unit
- Attributes
Remarks
Clears all the metadata that has been set since the MetadataEditor instance was created (with RemoteControlClient#editMetadata(boolean)
). Note that clearing the metadata doesn't reset the editable keys (use MediaMetadataEditor#removeEditableKeys()
instead).
Java documentation for android.media.RemoteControlClient.MetadataEditor.clear()
.
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.