/**@class android.media.MediaExtractor.CasInfo @extends java.lang.Object Describes the conditional access system used to scramble a track. */ var CasInfo = { /**Retrieves the system id of the conditional access system. @return {Number} CA system id of the CAS used to scramble the track. */ getSystemId : function( ) {}, /**Retrieves the private data in the CA_Descriptor associated with a track. Some CAS systems may need this to initialize the CAS plugin object. This private data can only be retrieved before a valid {@link android.media.MediaCas} object is set on the extractor. <p> @see MediaExtractor#setMediaCas <p> @return {Number} a byte array containing the private data. A null return value indicates that the private data is unavailable. An empty array, on the other hand, indicates that the private data is empty (zero in length). */ getPrivateData : function( ) {}, /**Retrieves the {@link android.media.MediaCas.Session} associated with a track. The session is needed to initialize a descrambler in order to decode the scrambled track. The session object can only be retrieved after a valid {@link android.media.MediaCas} object is set on the extractor. <p> @see MediaExtractor#setMediaCas @see MediaDescrambler#setMediaCasSession <p> @return {Object {android.media.MediaCas.Session}} a {@link MediaCas.Session} object associated with a track. */ getSession : function( ) {}, };