Język

PlaybackMetrics.Builder.SetDrmType(Int32) Method

Definition

Sets the DRM type.

[Android.Runtime.Register("setDrmType", "(I)Landroid/media/metrics/PlaybackMetrics$Builder;", "", ApiSince=31)]
public Android.Media.Metrics.PlaybackMetrics.Builder SetDrmType(int value);
[<Android.Runtime.Register("setDrmType", "(I)Landroid/media/metrics/PlaybackMetrics$Builder;", "", ApiSince=31)>]
member this.SetDrmType : int -> Android.Media.Metrics.PlaybackMetrics.Builder

Parameters

value
Int32

Value is one of the following: PlaybackMetrics.DRM_TYPE_NONE; PlaybackMetrics.DRM_TYPE_OTHER; PlaybackMetrics.DRM_TYPE_PLAY_READY; PlaybackMetrics.DRM_TYPE_WIDEVINE_L1; PlaybackMetrics.DRM_TYPE_WIDEVINE_L3; PlaybackMetrics.DRM_TYPE_WV_L3_FALLBACK; PlaybackMetrics.DRM_TYPE_CLEARKEY

Returns

This builder instance.

Attributes

Remarks

Sets the DRM type.

Android reference for android.media.metrics.PlaybackMetrics.Builder.setDrmType.

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.

Applies to