PlaybackStateEvent.Builder.SetMetricsBundle(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.
Sets metrics-related information that is not supported by dedicated methods.
[Android.Runtime.Register("setMetricsBundle", "(Landroid/os/Bundle;)Landroid/media/metrics/PlaybackStateEvent$Builder;", "", ApiSince=31)]
public Android.Media.Metrics.PlaybackStateEvent.Builder SetMetricsBundle(Android.OS.Bundle metricsBundle);
[<Android.Runtime.Register("setMetricsBundle", "(Landroid/os/Bundle;)Landroid/media/metrics/PlaybackStateEvent$Builder;", "", ApiSince=31)>]
member this.SetMetricsBundle : Android.OS.Bundle -> Android.Media.Metrics.PlaybackStateEvent.Builder
Parameters
- metricsBundle
- Bundle
Additional metrics for compatibility with the Android metrics infrastructure.
Returns
This builder instance.
- Attributes
Remarks
Sets metrics-related information that is not supported by dedicated methods.
It is intended to be used for backwards compatibility by the metrics infrastructure.
Android reference for android.media.metrics.PlaybackStateEvent.Builder.setMetricsBundle.
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.