Freigeben über


DrmManagerClient.SetOnInfoListener(DrmManagerClient+IOnInfoListener) Method

Definition

Registers an DrmManagerClient.OnInfoListener callback, which is invoked when the DRM framework sends status or warning information during registration or rights acquisition.

[Android.Runtime.Register("setOnInfoListener", "(Landroid/drm/DrmManagerClient$OnInfoListener;)V", "GetSetOnInfoListener_Landroid_drm_DrmManagerClient_OnInfoListener_Handler")]
public virtual void SetOnInfoListener (Android.Drm.DrmManagerClient.IOnInfoListener? infoListener);
[<Android.Runtime.Register("setOnInfoListener", "(Landroid/drm/DrmManagerClient$OnInfoListener;)V", "GetSetOnInfoListener_Landroid_drm_DrmManagerClient_OnInfoListener_Handler")>]
abstract member SetOnInfoListener : Android.Drm.DrmManagerClient.IOnInfoListener -> unit
override this.SetOnInfoListener : Android.Drm.DrmManagerClient.IOnInfoListener -> unit

Parameters

infoListener
DrmManagerClient.IOnInfoListener

Interface definition for the callback.

Attributes

Remarks

Java documentation for android.drm.DrmManagerClient.setOnInfoListener(android.drm.OnInfoListener).

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