MediaPlayer.Metrics Property
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.
Return Metrics data about the current player.
public virtual Android.OS.PersistableBundle? Metrics { [Android.Runtime.Register("getMetrics", "()Landroid/os/PersistableBundle;", "GetGetMetricsHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getMetrics", "()Landroid/os/PersistableBundle;", "GetGetMetricsHandler", ApiSince=26)>]
member this.Metrics : Android.OS.PersistableBundle
Property Value
a PersistableBundle
containing the set of attributes and values
available for the media being handled by this instance of MediaPlayer
The attributes are descibed in MetricsConstants
.
Additional vendor-specific fields may also be present in
the return value.
- Attributes
Remarks
Return Metrics data about the current player.
Java documentation for android.media.MediaPlayer.getMetrics()
.
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.