次の方法で共有


MediaDrm.GetPlaybackComponent(Byte[]) Method

Definition

Obtain a PlaybackComponent associated with a DRM session.

[Android.Runtime.Register("getPlaybackComponent", "([B)Landroid/media/MediaDrm$PlaybackComponent;", "", ApiSince=31)]
public Android.Media.MediaDrm.PlaybackComponent? GetPlaybackComponent (byte[] sessionId);
[<Android.Runtime.Register("getPlaybackComponent", "([B)Landroid/media/MediaDrm$PlaybackComponent;", "", ApiSince=31)>]
member this.GetPlaybackComponent : byte[] -> Android.Media.MediaDrm.PlaybackComponent

Parameters

sessionId
Byte[]

a DRM session ID obtained from #openSession()

Returns

a PlaybackComponent associated with the session, or null if the session is closed or does not exist.

Attributes

Remarks

Java documentation for android.media.MediaDrm.getPlaybackComponent(byte[]).

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