/**@class android.widget.MediaController @extends android.widget.FrameLayout A view containing controls for a MediaPlayer. Typically contains the buttons like "Play/Pause", "Rewind", "Fast Forward" and a progress slider. It takes care of synchronizing the controls with the state of the MediaPlayer. <p> The way to use this class is to instantiate it programmatically. The MediaController will create a default set of controls and put them in a window floating above your application. Specifically, the controls will float above the view specified with setAnchorView(). The window will disappear if left idle for three seconds and reappear when the user touches the anchor view. <p> Functions like show() and hide() have no effect when MediaController is created in an xml layout. MediaController will hide and show the buttons according to these rules: <ul> <li> The "previous" and "next" buttons are hidden until setPrevNextListeners() has been called <li> The "previous" and "next" buttons are visible but disabled if setPrevNextListeners() was called with null listeners <li> The "rewind" and "fastforward" buttons are shown unless requested otherwise by using the MediaController(Context, boolean) constructor with the boolean set to false </ul> */ var MediaController = { /** */ onFinishInflate : function( ) {}, /** */ setMediaPlayer : function( ) {}, /**Set the view that acts as the anchor for the control view. This can for example be a VideoView, or your Activity's main view. When VideoView calls this method, it will use the VideoView's parent as the anchor. @param {Object {View}} view The view to which to anchor the controller when it is visible. */ setAnchorView : function( ) {}, /**Show the controller on screen. It will go away automatically after 3 seconds of inactivity. */ show : function( ) {}, /**Show the controller on screen. It will go away automatically after 'timeout' milliseconds of inactivity. @param {Number} timeout The timeout in milliseconds. Use 0 to show the controller until hide() is called. */ show : function( ) {}, /** */ isShowing : function( ) {}, /**Remove the controller from the screen. */ hide : function( ) {}, /** */ onTouchEvent : function( ) {}, /** */ onTrackballEvent : function( ) {}, /** */ dispatchKeyEvent : function( ) {}, /** */ setEnabled : function( ) {}, /** */ getAccessibilityClassName : function( ) {}, /** */ setPrevNextListeners : function( ) {}, };