Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!
added in API level 26

MediaCas.EventListener

public static interface MediaCas.EventListener

android.media.MediaCas.EventListener


An interface registered by the caller to MediaCas.setEventListener(MediaCas.EventListener, Handler) to receives scheme-specific notifications from a MediaCas instance.

Summary

Public methods

abstract void onEvent(MediaCas MediaCas, int event, int arg, byte[] data)

Notify the listener of a scheme-specific event from the CA system.

Public methods

onEvent

added in API level 26
public abstract void onEvent (MediaCas MediaCas, 
                int event, 
                int arg, 
                byte[] data)

Notify the listener of a scheme-specific event from the CA system.

Parameters
MediaCas MediaCas: the MediaCas object to receive this event.

event int: an integer whose meaning is scheme-specific.

arg int: an integer whose meaning is scheme-specific.

data byte: a byte array of data whose format and meaning are scheme-specific.

This value may be null.