{ "methods": { "canPause()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "boolean", "exceptions": [], "name": "canPause()" }, "getCurrentPosition()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "int", "exceptions": [], "name": "getCurrentPosition()" }, "getCurrentVideoState()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "int", "exceptions": [], "name": "getCurrentVideoState()", "documentation": "@return Current video state.\n" }, "getDuration()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "int", "exceptions": [], "name": "getDuration()" }, "getOnCompletionListener()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "android.media.MediaPlayer.OnCompletionListener", "exceptions": [], "name": "getOnCompletionListener()", "documentation": "@return On completion listener.\n" }, "getOnErrorListener()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "android.media.MediaPlayer.OnErrorListener", "exceptions": [], "name": "getOnErrorListener()", "documentation": "@return On error listener.\n" }, "getOnPreparedListener()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "android.media.MediaPlayer.OnPreparedListener", "exceptions": [], "name": "getOnPreparedListener()", "documentation": "@return On prepared listener.\n" }, "getPrevVideoState()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "int", "exceptions": [], "name": "getPrevVideoState()", "documentation": "@return Previous video state.\n" }, "getVideoPath()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "java.lang.String", "exceptions": [], "name": "getVideoPath()", "documentation": "@return Video path.\n" }, "getVideoURIString()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "java.lang.String", "exceptions": [], "name": "getVideoURIString()", "documentation": "@return Video URI.\n" }, "isPlaying()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "boolean", "exceptions": [], "name": "isPlaying()" }, "pause()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "void", "exceptions": [], "name": "pause()" }, "resume()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "void", "exceptions": [], "name": "resume()" }, "savePrevState()": { "isImplementation": false, "modifiers": [ "private" ], "params": [], "returnType": "void", "exceptions": [], "name": "savePrevState()" }, "seekTo(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "msec" ], "returnType": "void", "exceptions": [], "name": "seekTo(int)" }, "setDuration(int)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "duration" ], "returnType": "void", "exceptions": [], "name": "setDuration(int)" }, "setOnCompletionListener(android.media.MediaPlayer.OnCompletionListener)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "l" ], "returnType": "void", "exceptions": [], "name": "setOnCompletionListener(android.media.MediaPlayer.OnCompletionListener)" }, "setOnErrorListener(android.media.MediaPlayer.OnErrorListener)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "l" ], "returnType": "void", "exceptions": [], "name": "setOnErrorListener(android.media.MediaPlayer.OnErrorListener)" }, "setOnPreparedListener(android.media.MediaPlayer.OnPreparedListener)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "l" ], "returnType": "void", "exceptions": [], "name": "setOnPreparedListener(android.media.MediaPlayer.OnPreparedListener)" }, "setVideoPath(java.lang.String)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "path" ], "returnType": "void", "exceptions": [], "name": "setVideoPath(java.lang.String)" }, "setVideoURI(android.net.Uri)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "uri" ], "returnType": "void", "exceptions": [], "name": "setVideoURI(android.net.Uri)" }, "start()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "void", "exceptions": [], "name": "start()" }, "stopPlayback()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "void", "exceptions": [], "name": "stopPlayback()" }, "suspend()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "void", "exceptions": [], "name": "suspend()" } }, "imports": [ "android.media.MediaPlayer", "android.net.Uri", "android.widget.VideoView", "org.robolectric.annotation.Implementation", "org.robolectric.annotation.Implements" ], "name": "org.robolectric.shadows.ShadowVideoView" }