diff --git a/.classpath b/.classpath index 5bea7b4..a4763d1 100644 --- a/.classpath +++ b/.classpath @@ -1,9 +1,8 @@ - - - - - - - - - + + + + + + + + diff --git a/doc/io/vov/vitamio/MediaPlayer.OnBufferingUpdateListener.html b/doc/io/vov/vitamio/MediaPlayer.OnBufferingUpdateListener.html deleted file mode 100644 index a340144..0000000 --- a/doc/io/vov/vitamio/MediaPlayer.OnBufferingUpdateListener.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - -MediaPlayer.OnBufferingUpdateListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Interface MediaPlayer.OnBufferingUpdateListener

-
-
Enclosing class:
MediaPlayer
-
-
-
-
public static interface MediaPlayer.OnBufferingUpdateListener
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- voidonBufferingUpdate(MediaPlayer mp, - int percent) - -
-          Called to update status in buffering a media stream.
-  -

- - - - - - - - -
-Method Detail
- -

-onBufferingUpdate

-
-void onBufferingUpdate(MediaPlayer mp,
-                       int percent)
-
-
Called to update status in buffering a media stream. -

-

-
Parameters:
mp - the MediaPlayer the update pertains to
percent - the percentage (0-100) of the buffer that has been - filled thus far
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/MediaPlayer.OnCompletionListener.html b/doc/io/vov/vitamio/MediaPlayer.OnCompletionListener.html deleted file mode 100644 index 1176c70..0000000 --- a/doc/io/vov/vitamio/MediaPlayer.OnCompletionListener.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - -MediaPlayer.OnCompletionListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Interface MediaPlayer.OnCompletionListener

-
-
Enclosing class:
MediaPlayer
-
-
-
-
public static interface MediaPlayer.OnCompletionListener
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- voidonCompletion(MediaPlayer mp) - -
-          Called when the end of a media source is reached during playback.
-  -

- - - - - - - - -
-Method Detail
- -

-onCompletion

-
-void onCompletion(MediaPlayer mp)
-
-
Called when the end of a media source is reached during playback. -

-

-
Parameters:
mp - the MediaPlayer that reached the end of the file
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/MediaPlayer.OnErrorListener.html b/doc/io/vov/vitamio/MediaPlayer.OnErrorListener.html deleted file mode 100644 index ccd6e84..0000000 --- a/doc/io/vov/vitamio/MediaPlayer.OnErrorListener.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - -MediaPlayer.OnErrorListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Interface MediaPlayer.OnErrorListener

-
-
Enclosing class:
MediaPlayer
-
-
-
-
public static interface MediaPlayer.OnErrorListener
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- booleanonError(MediaPlayer mp, - int what, - int extra) - -
-          Called to indicate an error.
-  -

- - - - - - - - -
-Method Detail
- -

-onError

-
-boolean onError(MediaPlayer mp,
-                int what,
-                int extra)
-
-
Called to indicate an error. -

-

-
Parameters:
mp - the MediaPlayer the error pertains to
what - the type of error that has occurred: -
extra - an extra code, specific to the error. Typically - implementation dependant. -
Returns:
True if the method handled the error, false if it didn't. - Returning false, or not having an OnErrorListener at all, will cause - the OnCompletionListener to be called.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/MediaPlayer.OnInfoListener.html b/doc/io/vov/vitamio/MediaPlayer.OnInfoListener.html deleted file mode 100644 index e042435..0000000 --- a/doc/io/vov/vitamio/MediaPlayer.OnInfoListener.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -MediaPlayer.OnInfoListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Interface MediaPlayer.OnInfoListener

-
-
Enclosing class:
MediaPlayer
-
-
-
-
public static interface MediaPlayer.OnInfoListener
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- booleanonInfo(MediaPlayer mp, - int what, - int extra) - -
-          Called to indicate an info or a warning.
-  -

- - - - - - - - -
-Method Detail
- -

-onInfo

-
-boolean onInfo(MediaPlayer mp,
-               int what,
-               int extra)
-
-
Called to indicate an info or a warning. -

-

-
Parameters:
mp - the MediaPlayer the info pertains to.
what - the type of info or warning. -
extra - an extra code, specific to the info. Typically - implementation dependant. -
Returns:
True if the method handled the info, false if it didn't. - Returning false, or not having an OnErrorListener at all, will cause - the info to be discarded.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/MediaPlayer.OnPreparedListener.html b/doc/io/vov/vitamio/MediaPlayer.OnPreparedListener.html deleted file mode 100644 index 7620f92..0000000 --- a/doc/io/vov/vitamio/MediaPlayer.OnPreparedListener.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - -MediaPlayer.OnPreparedListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Interface MediaPlayer.OnPreparedListener

-
-
Enclosing class:
MediaPlayer
-
-
-
-
public static interface MediaPlayer.OnPreparedListener
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- voidonPrepared(MediaPlayer mp) - -
-          Called when the media file is ready for playback.
-  -

- - - - - - - - -
-Method Detail
- -

-onPrepared

-
-void onPrepared(MediaPlayer mp)
-
-
Called when the media file is ready for playback. -

-

-
Parameters:
mp - the MediaPlayer that is ready for playback
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/MediaPlayer.OnSeekCompleteListener.html b/doc/io/vov/vitamio/MediaPlayer.OnSeekCompleteListener.html deleted file mode 100644 index 910bb75..0000000 --- a/doc/io/vov/vitamio/MediaPlayer.OnSeekCompleteListener.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - -MediaPlayer.OnSeekCompleteListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Interface MediaPlayer.OnSeekCompleteListener

-
-
Enclosing class:
MediaPlayer
-
-
-
-
public static interface MediaPlayer.OnSeekCompleteListener
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- voidonSeekComplete(MediaPlayer mp) - -
-          Called to indicate the completion of a seek operation.
-  -

- - - - - - - - -
-Method Detail
- -

-onSeekComplete

-
-void onSeekComplete(MediaPlayer mp)
-
-
Called to indicate the completion of a seek operation. -

-

-
Parameters:
mp - the MediaPlayer that issued the seek operation
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/MediaPlayer.OnSubtitleUpdateListener.html b/doc/io/vov/vitamio/MediaPlayer.OnSubtitleUpdateListener.html deleted file mode 100644 index 17b3bdc..0000000 --- a/doc/io/vov/vitamio/MediaPlayer.OnSubtitleUpdateListener.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - -MediaPlayer.OnSubtitleUpdateListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Interface MediaPlayer.OnSubtitleUpdateListener

-
-
Enclosing class:
MediaPlayer
-
-
-
-
public static interface MediaPlayer.OnSubtitleUpdateListener
- - -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- voidonSubtitleUpdate(byte[] pixels, - int width, - int height) - -
-          Called to indicate that an image subtitle need to display
- voidonSubtitleUpdate(java.lang.String text) - -
-          Called to indicate that a text subtitle need to display
-  -

- - - - - - - - -
-Method Detail
- -

-onSubtitleUpdate

-
-void onSubtitleUpdate(java.lang.String text)
-
-
Called to indicate that a text subtitle need to display -

-

-
Parameters:
text - the subtitle to display
-
-
-
- -

-onSubtitleUpdate

-
-void onSubtitleUpdate(byte[] pixels,
-                      int width,
-                      int height)
-
-
Called to indicate that an image subtitle need to display -

-

-
Parameters:
pixels - the pixels of the subtitle image
width - the width of the subtitle image
height - the height of the subtitle image
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/MediaPlayer.OnVideoSizeChangedListener.html b/doc/io/vov/vitamio/MediaPlayer.OnVideoSizeChangedListener.html deleted file mode 100644 index 7a09d4f..0000000 --- a/doc/io/vov/vitamio/MediaPlayer.OnVideoSizeChangedListener.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - -MediaPlayer.OnVideoSizeChangedListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Interface MediaPlayer.OnVideoSizeChangedListener

-
-
Enclosing class:
MediaPlayer
-
-
-
-
public static interface MediaPlayer.OnVideoSizeChangedListener
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- voidonVideoSizeChanged(MediaPlayer mp, - int width, - int height) - -
-          Called to indicate the video size
-  -

- - - - - - - - -
-Method Detail
- -

-onVideoSizeChanged

-
-void onVideoSizeChanged(MediaPlayer mp,
-                        int width,
-                        int height)
-
-
Called to indicate the video size -

-

-
Parameters:
mp - the MediaPlayer associated with this callback
width - the width of the video
height - the height of the video
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/MediaPlayer.html b/doc/io/vov/vitamio/MediaPlayer.html deleted file mode 100644 index 9c54fc4..0000000 --- a/doc/io/vov/vitamio/MediaPlayer.html +++ /dev/null @@ -1,1703 +0,0 @@ - - - - - - -MediaPlayer - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Class MediaPlayer

-
-java.lang.Object
-  extended by io.vov.vitamio.MediaPlayer
-
-
-
-
public class MediaPlayer
extends java.lang.Object
- - -

-MediaPlayer class can be used to control playback of audio/video files and - streams. An example on how to use the methods in this class can be found in - VideoView. This class will function the same as - android.media.MediaPlayer in most cases. Please see Audio and - Video for additional help using MediaPlayer. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Nested Class Summary
-static interfaceMediaPlayer.OnBufferingUpdateListener - -
-           
-static interfaceMediaPlayer.OnCompletionListener - -
-           
-static interfaceMediaPlayer.OnErrorListener - -
-           
-static interfaceMediaPlayer.OnInfoListener - -
-           
-static interfaceMediaPlayer.OnPreparedListener - -
-           
-static interfaceMediaPlayer.OnSeekCompleteListener - -
-           
-static interfaceMediaPlayer.OnSubtitleUpdateListener - -
-           
-static interfaceMediaPlayer.OnVideoSizeChangedListener - -
-           
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static intMEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK - -
-           
-static intMEDIA_ERROR_UNKNOWN - -
-           
-static intMEDIA_INFO_BUFFERING_END - -
-          MediaPlayer is resuming playback after filling buffers.
-static intMEDIA_INFO_BUFFERING_START - -
-          MediaPlayer is temporarily pausing playback internally in order to buffer - more data.
-static intMEDIA_INFO_NOT_SEEKABLE - -
-          The media cannot be seeked (e.g live stream)
-static intMEDIA_INFO_VIDEO_TRACK_LAGGING - -
-          The video is too complex for the decoder: it can't decode frames fast - enough.
-static java.lang.String[]SUB_TYPES - -
-          The external subtitle types which Vitamio supports.
-static intSUBTITLE_EXTERNAL - -
-          The subtitle displayed is an external file
-static intSUBTITLE_INTERNAL - -
-          The subtitle displayed is embeded in the movie
-static intVIDEOQUALITY_HIGH - -
-           
-static intVIDEOQUALITY_LOW - -
-           
-static intVIDEOQUALITY_MEDIUM - -
-           
-  - - - - - - - - - - -
-Constructor Summary
MediaPlayer(Context ctx) - -
-          Default constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- intgetAudioTrack() - -
-          Get the audio track number in playback
- java.util.HashMap<java.lang.String,java.lang.Integer>getAudioTrackMap(java.lang.String encoding) - -
-          Get the audio tracks embeded in the movie (e.g.
- intgetBufferProgress() - -
-           
- longgetCurrentPosition() - -
-          Gets the current playback position.
- longgetDuration() - -
-          Gets the duration of the file.
- java.lang.StringgetMetaEncoding() - -
-          Get the encoding if haven't set with setMetaEncoding(String)
- intgetSubLocation() - -
-           
- java.lang.StringgetSubPath() - -
-          You can get the file-path of the external subtitle in use.
- intgetSubTrack() - -
-          Get the subtitle track number in playback
- java.util.HashMap<java.lang.String,java.lang.Integer>getSubTrackMap(java.lang.String encoding) - -
-          Get the subtitles embeded in the movie (e.g.
- floatgetVideoAspectRatio() - -
-          Returns the aspect ratio of the video.
- intgetVideoHeight() - -
-          Returns the height of the video.
- intgetVideoWidth() - -
-          Returns the width of the video.
- booleanisBuffering() - -
-          Checks whether the buffer is filled
- booleanisPlaying() - -
-          Checks whether the MediaPlayer is playing.
- voidpause() - -
-          Pauses playback.
- voidprepare() - -
-          Prepares the player for playback, synchronously.
- voidprepareAsync() - -
-          Prepares the player for playback, asynchronously.
- voidrelease() - -
-          Releases resources associated with this MediaPlayer object.
- voidreleaseDisplay() - -
-          Calling this result in only the audio track being played.
- voidreset() - -
-          Resets the MediaPlayer to its uninitialized state.
- voidseekTo(long msec) - -
-          Seeks to specified time position.
- voidsetAudioTrack(int audioIndex) - -
-          Set the audio track to play, must be in the result of - getAudioTrackMap(String)
- voidsetBufferSize(int bufSize) - -
-          The buffer to fill before playback, default is 1024KB
- voidsetDataSource(Context context, - Uri uri) - -
-          Sets the data source as a content Uri.
- voidsetDataSource(java.io.FileDescriptor fd) - -
-          Sets the data source (FileDescriptor) to use.
- voidsetDataSource(java.lang.String path) - -
-          Sets the data source (file-path or http/rtsp/mms URL) to use.
- voidsetDisplay(SurfaceHolder sh) - -
-          Sets the SurfaceHolder to use for displaying the video portion of the - media.
- voidsetMetaEncoding(java.lang.String encoding) - -
-          Set the encoding MediaPlayer will use to determine the metadata
- voidsetOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener listener) - -
-          Register a callback to be invoked when the status of a network stream's - buffer has changed.
- voidsetOnCompletionListener(MediaPlayer.OnCompletionListener listener) - -
-          Register a callback to be invoked when the end of a media source has been - reached during playback.
- voidsetOnErrorListener(MediaPlayer.OnErrorListener listener) - -
-          Register a callback to be invoked when an error has happened during an - asynchronous operation.
- voidsetOnInfoListener(MediaPlayer.OnInfoListener listener) - -
-           
- voidsetOnPreparedListener(MediaPlayer.OnPreparedListener listener) - -
-          Register a callback to be invoked when the media source is ready for - playback.
- voidsetOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener listener) - -
-          Register a callback to be invoked when a seek operation has been - completed.
- voidsetOnSubtitleUpdateListener(MediaPlayer.OnSubtitleUpdateListener listener) - -
-          Register a callback to be invoked when a subtitle need to display.
- voidsetOnVideoSizeChangedListener(MediaPlayer.OnVideoSizeChangedListener listener) - -
-          Register a callback to be invoked when the video size is known or - updated.
- voidsetScreenOnWhilePlaying(boolean screenOn) - -
-          Control whether we should use the attached SurfaceHolder to keep the - screen on while video playback is occurring.
- voidsetSubEncoding(java.lang.String encoding) - -
-          Set the encoding to display text subtitle.
- voidsetSubPath(java.lang.String subPath) - -
-          Set the file-path of an external subtitle.
- voidsetSubShown(boolean shown) - -
-          Tell the MediaPlayer whether to show subtitle
- voidsetSubTrack(int trackId) - -
-          Set the subtitle track to display, must be in the result of - getSubTrackMap(String)
- voidsetVideoQuality(int quality) - -
-          Set the quality when play video, if the video is too lag, you may try - VIDEOQUALITY_LOW, default is VIDEOQUALITY_LOW.
- voidsetVolume(float leftVolume, - float rightVolume) - -
-           
- voidsetWakeMode(Context context, - int mode) - -
-          Set the low-level power management behavior for this MediaPlayer.
- voidstart() - -
-          Starts or resumes playback.
- voidstop() - -
-          The same as pause()
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-MEDIA_ERROR_UNKNOWN

-
-public static final int MEDIA_ERROR_UNKNOWN
-
-
-
See Also:
Constant Field Values
-
-
- -

-MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK

-
-public static final int MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK
-
-
-
See Also:
Constant Field Values
-
-
- -

-MEDIA_INFO_VIDEO_TRACK_LAGGING

-
-public static final int MEDIA_INFO_VIDEO_TRACK_LAGGING
-
-
The video is too complex for the decoder: it can't decode frames fast - enough. Possibly only the audio plays fine at this stage. -

-

-
See Also:
MediaPlayer.OnInfoListener, -Constant Field Values
-
-
- -

-MEDIA_INFO_BUFFERING_START

-
-public static final int MEDIA_INFO_BUFFERING_START
-
-
MediaPlayer is temporarily pausing playback internally in order to buffer - more data. -

-

-
See Also:
Constant Field Values
-
-
- -

-MEDIA_INFO_BUFFERING_END

-
-public static final int MEDIA_INFO_BUFFERING_END
-
-
MediaPlayer is resuming playback after filling buffers. -

-

-
See Also:
Constant Field Values
-
-
- -

-MEDIA_INFO_NOT_SEEKABLE

-
-public static final int MEDIA_INFO_NOT_SEEKABLE
-
-
The media cannot be seeked (e.g live stream) -

-

-
See Also:
MediaPlayer.OnInfoListener, -Constant Field Values
-
-
- -

-VIDEOQUALITY_LOW

-
-public static final int VIDEOQUALITY_LOW
-
-
-
See Also:
Constant Field Values
-
-
- -

-VIDEOQUALITY_MEDIUM

-
-public static final int VIDEOQUALITY_MEDIUM
-
-
-
See Also:
Constant Field Values
-
-
- -

-VIDEOQUALITY_HIGH

-
-public static final int VIDEOQUALITY_HIGH
-
-
-
See Also:
Constant Field Values
-
-
- -

-SUBTITLE_INTERNAL

-
-public static final int SUBTITLE_INTERNAL
-
-
The subtitle displayed is embeded in the movie -

-

-
See Also:
Constant Field Values
-
-
- -

-SUBTITLE_EXTERNAL

-
-public static final int SUBTITLE_EXTERNAL
-
-
The subtitle displayed is an external file -

-

-
See Also:
Constant Field Values
-
-
- -

-SUB_TYPES

-
-public static final java.lang.String[] SUB_TYPES
-
-
The external subtitle types which Vitamio supports. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-MediaPlayer

-
-public MediaPlayer(Context ctx)
-            throws VitamioInstaller.VitamioNotCompatibleException,
-                   VitamioInstaller.VitamioNotFoundException
-
-
Default constructor. The same as Android's, except that it will throw - VitamioInstaller.VitamioNotCompatibleException if - Vitamio not compatible with user's device, - VitamioInstaller.VitamioNotFoundException if - Vitamio not installed in the device. -

- When done with the MediaPlayer, you should call release(), to - free the resources. If not released, too many MediaPlayer instances may - result in an exception. -

-

-

- -
Throws: -
VitamioInstaller.VitamioNotCompatibleException -
VitamioInstaller.VitamioNotFoundException
-
- - - - - - - - -
-Method Detail
- -

-setDisplay

-
-public void setDisplay(SurfaceHolder sh)
-
-
Sets the SurfaceHolder to use for displaying the video portion of the - media. This call is optional. Not calling it when playing back a video - will result in only the audio track being played. -

-

-
Parameters:
sh - the SurfaceHolder to use for video display
-
-
-
- -

-setDataSource

-
-public void setDataSource(Context context,
-                          Uri uri)
-                   throws java.io.IOException,
-                          java.lang.IllegalArgumentException,
-                          java.lang.SecurityException,
-                          java.lang.IllegalStateException
-
-
Sets the data source as a content Uri. -

-

-
Parameters:
context - the Context to use when resolving the Uri
uri - the Content URI of the data you want to play -
Throws: -
java.lang.IllegalStateException - if it is called in an invalid state -
java.io.IOException -
java.lang.IllegalArgumentException -
java.lang.SecurityException
-
-
-
- -

-setDataSource

-
-public void setDataSource(java.lang.String path)
-                   throws java.io.IOException,
-                          java.lang.IllegalArgumentException,
-                          java.lang.IllegalStateException
-
-
Sets the data source (file-path or http/rtsp/mms URL) to use. -

-

-
Parameters:
path - the path of the file, or the http/rtsp/mms URL of the stream - you want to play -
Throws: -
java.lang.IllegalStateException - if it is called in an invalid state -
java.io.IOException -
java.lang.IllegalArgumentException
-
-
-
- -

-setDataSource

-
-public void setDataSource(java.io.FileDescriptor fd)
-                   throws java.io.IOException,
-                          java.lang.IllegalArgumentException,
-                          java.lang.IllegalStateException
-
-
Sets the data source (FileDescriptor) to use. It is the caller's - responsibility to close the file descriptor. It is safe to do so as soon - as this call returns. -

-

-
Parameters:
fd - the FileDescriptor for the file you want to play -
Throws: -
java.lang.IllegalStateException - if it is called in an invalid state -
java.io.IOException -
java.lang.IllegalArgumentException
-
-
-
- -

-prepare

-
-public void prepare()
-             throws java.io.IOException,
-                    java.lang.IllegalStateException
-
-
Prepares the player for playback, synchronously. - - After setting the datasource and the display surface, you need to either - call prepare() or prepareAsync(). For files, it is OK to call prepare(), - which blocks until MediaPlayer is ready for playback. -

-

- -
Throws: -
java.lang.IllegalStateException - if it is called in an invalid state -
java.io.IOException
-
-
-
- -

-prepareAsync

-
-public void prepareAsync()
-                  throws java.lang.IllegalStateException
-
-
Prepares the player for playback, asynchronously. - - After setting the datasource and the display surface, you need to either - call prepare() or prepareAsync(). For streams, you should call - prepareAsync(), which returns immediately, rather than blocking until - enough data has been buffered. -

-

- -
Throws: -
java.lang.IllegalStateException - if it is called in an invalid state
-
-
-
- -

-start

-
-public void start()
-           throws java.lang.IllegalStateException
-
-
Starts or resumes playback. If playback had previously been paused, - playback will continue from where it was paused. If playback had been - stopped, or never started before, playback will start at the beginning. -

-

- -
Throws: -
java.lang.IllegalStateException - if it is called in an invalid state
-
-
-
- -

-stop

-
-public void stop()
-          throws java.lang.IllegalStateException
-
-
The same as pause() -

-

- -
Throws: -
java.lang.IllegalStateException - if the internal player engine has not been - initialized.
-
-
-
- -

-pause

-
-public void pause()
-           throws java.lang.IllegalStateException
-
-
Pauses playback. Call start() to resume. -

-

- -
Throws: -
java.lang.IllegalStateException - if the internal player engine has not been - initialized.
-
-
-
- -

-setWakeMode

-
-public void setWakeMode(Context context,
-                        int mode)
-
-
Set the low-level power management behavior for this MediaPlayer. This - can be used when the MediaPlayer is not playing through a SurfaceHolder - set with setDisplay(SurfaceHolder) and thus can use the - high-level setScreenOnWhilePlaying(boolean) feature. - - This function has the MediaPlayer access the low-level power manager - service to control the device's power usage while playing is occurring. - The parameter is a combination of android.os.PowerManager wake - flags. Use of this method requires - android.Manifest.permission#WAKE_LOCK permission. By default, no - attempt is made to keep the device awake during playback. -

-

-
Parameters:
context - the Context to use
mode - the power/wake mode to set
See Also:
android.os.PowerManager
-
-
-
- -

-setScreenOnWhilePlaying

-
-public void setScreenOnWhilePlaying(boolean screenOn)
-
-
Control whether we should use the attached SurfaceHolder to keep the - screen on while video playback is occurring. This is the preferred method - over setWakeMode(Context, int) where possible, since it doesn't require that - the application have permission for low-level wake lock access. -

-

-
Parameters:
screenOn - Supply true to keep the screen on, false to allow it to - turn off.
-
-
-
- -

-getVideoWidth

-
-public int getVideoWidth()
-
-
Returns the width of the video. -

-

- -
Returns:
the width of the video, or 0 if there is no video, or the width - has not been determined yet. The OnVideoSizeChangedListener can be - registered via - setOnVideoSizeChangedListener(OnVideoSizeChangedListener) to - provide a notification when the width is available.
-
-
-
- -

-getVideoHeight

-
-public int getVideoHeight()
-
-
Returns the height of the video. -

-

- -
Returns:
the height of the video, or 0 if there is no video, or the height - has not been determined yet. The OnVideoSizeChangedListener can be - registered via - setOnVideoSizeChangedListener(OnVideoSizeChangedListener) to - provide a notification when the height is available.
-
-
-
- -

-isPlaying

-
-public boolean isPlaying()
-
-
Checks whether the MediaPlayer is playing. -

-

- -
Returns:
true if currently playing, false otherwise
-
-
-
- -

-seekTo

-
-public void seekTo(long msec)
-            throws java.lang.IllegalStateException
-
-
Seeks to specified time position. -

-

-
Parameters:
msec - the offset in milliseconds from the start to seek to -
Throws: -
java.lang.IllegalStateException - if the internal player engine has not been - initialized
-
-
-
- -

-getCurrentPosition

-
-public long getCurrentPosition()
-
-
Gets the current playback position. -

-

- -
Returns:
the current position in milliseconds
-
-
-
- -

-getDuration

-
-public long getDuration()
-
-
Gets the duration of the file. -

-

- -
Returns:
the duration in milliseconds
-
-
-
- -

-release

-
-public void release()
-
-
Releases resources associated with this MediaPlayer object. It is - considered good practice to call this method when you're done using the - MediaPlayer. -

-

-
-
-
-
- -

-reset

-
-public void reset()
-
-
Resets the MediaPlayer to its uninitialized state. After calling this - method, you will have to initialize it again by setting the data source - and calling prepare(). -

-

-
-
-
-
- -

-setVolume

-
-public void setVolume(float leftVolume,
-                      float rightVolume)
-
-
-
-
-
-
- -

-setOnPreparedListener

-
-public void setOnPreparedListener(MediaPlayer.OnPreparedListener listener)
-
-
Register a callback to be invoked when the media source is ready for - playback. -

-

-
Parameters:
listener - the callback that will be run
-
-
-
- -

-setOnCompletionListener

-
-public void setOnCompletionListener(MediaPlayer.OnCompletionListener listener)
-
-
Register a callback to be invoked when the end of a media source has been - reached during playback. -

-

-
Parameters:
listener - the callback that will be run
-
-
-
- -

-setOnBufferingUpdateListener

-
-public void setOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener listener)
-
-
Register a callback to be invoked when the status of a network stream's - buffer has changed. -

-

-
Parameters:
listener - the callback that will be run.
-
-
-
- -

-setOnSeekCompleteListener

-
-public void setOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener listener)
-
-
Register a callback to be invoked when a seek operation has been - completed. -

-

-
Parameters:
listener - the callback that will be run
-
-
-
- -

-setOnVideoSizeChangedListener

-
-public void setOnVideoSizeChangedListener(MediaPlayer.OnVideoSizeChangedListener listener)
-
-
Register a callback to be invoked when the video size is known or - updated. -

-

-
Parameters:
listener - the callback that will be run
-
-
-
- -

-setOnErrorListener

-
-public void setOnErrorListener(MediaPlayer.OnErrorListener listener)
-
-
Register a callback to be invoked when an error has happened during an - asynchronous operation. -

-

-
Parameters:
listener - the callback that will be run
-
-
-
- -

-setOnInfoListener

-
-public void setOnInfoListener(MediaPlayer.OnInfoListener listener)
-
-
-
-
-
-
- -

-setOnSubtitleUpdateListener

-
-public void setOnSubtitleUpdateListener(MediaPlayer.OnSubtitleUpdateListener listener)
-
-
Register a callback to be invoked when a subtitle need to display. -

-

-
Parameters:
listener - the callback that will be run
-
-
-
- -

-releaseDisplay

-
-public void releaseDisplay()
-
-
Calling this result in only the audio track being played. -

-

-
-
-
-
- -

-getVideoAspectRatio

-
-public float getVideoAspectRatio()
-
-
Returns the aspect ratio of the video. -

-

- -
Returns:
the aspect ratio of the video, or 0 if there is no video, or the - width and height is not available. io.vov.vitamio.VideoView#setVideoLayout(int, float)
-
-
-
- -

-setVideoQuality

-
-public void setVideoQuality(int quality)
-
-
Set the quality when play video, if the video is too lag, you may try - VIDEOQUALITY_LOW, default is VIDEOQUALITY_LOW. -

-

-
Parameters:
quality -
-
-
-
- -

-setBufferSize

-
-public void setBufferSize(int bufSize)
-
-
The buffer to fill before playback, default is 1024KB -

-

-
Parameters:
bufSize - buffer size in Byte
-
-
-
- -

-isBuffering

-
-public boolean isBuffering()
-
-
Checks whether the buffer is filled -

-

- -
Returns:
false if buffer is filled
-
-
-
- -

-getBufferProgress

-
-public int getBufferProgress()
-
-
- -
Returns:
the percent
See Also:
MediaPlayer.OnBufferingUpdateListener
-
-
-
- -

-setMetaEncoding

-
-public void setMetaEncoding(java.lang.String encoding)
-
-
Set the encoding MediaPlayer will use to determine the metadata -

-

-
Parameters:
encoding - e.g. "UTF-8"
-
-
-
- -

-getMetaEncoding

-
-public java.lang.String getMetaEncoding()
-
-
Get the encoding if haven't set with setMetaEncoding(String) -

-

- -
Returns:
the encoding
-
-
-
- -

-getAudioTrackMap

-
-public java.util.HashMap<java.lang.String,java.lang.Integer> getAudioTrackMap(java.lang.String encoding)
-
-
Get the audio tracks embeded in the movie (e.g. "English", 3). -

-

-
Parameters:
encoding - the encoding to format String, will detect it if null -
Returns:
Map of track name and track number
-
-
-
- -

-getAudioTrack

-
-public int getAudioTrack()
-
-
Get the audio track number in playback -

-

- -
Returns:
track number
-
-
-
- -

-setAudioTrack

-
-public void setAudioTrack(int audioIndex)
-
-
Set the audio track to play, must be in the result of - getAudioTrackMap(String) -

-

-
Parameters:
audioIndex - the track number
-
-
-
- -

-setSubShown

-
-public void setSubShown(boolean shown)
-
-
Tell the MediaPlayer whether to show subtitle -

-

-
Parameters:
shown - true if wanna show
-
-
-
- -

-setSubEncoding

-
-public void setSubEncoding(java.lang.String encoding)
-
-
Set the encoding to display text subtitle. -

-

-
Parameters:
encoding - MediaPlayer will detet it if null
-
-
-
- -

-getSubLocation

-
-public int getSubLocation()
-
-
- -
Returns:
-
-
-
- -

-setSubPath

-
-public void setSubPath(java.lang.String subPath)
-
-
Set the file-path of an external subtitle. -

-

-
Parameters:
subPath - must be a local file
-
-
-
- -

-getSubPath

-
-public java.lang.String getSubPath()
-
-
You can get the file-path of the external subtitle in use. -

-

- -
Returns:
null if no external subtitle
-
-
-
- -

-setSubTrack

-
-public void setSubTrack(int trackId)
-
-
Set the subtitle track to display, must be in the result of - getSubTrackMap(String) -

-

-
Parameters:
audioIndex - the track number
-
-
-
- -

-getSubTrack

-
-public int getSubTrack()
-
-
Get the subtitle track number in playback -

-

- -
Returns:
track number
-
-
-
- -

-getSubTrackMap

-
-public java.util.HashMap<java.lang.String,java.lang.Integer> getSubTrackMap(java.lang.String encoding)
-
-
Get the subtitles embeded in the movie (e.g. "English", 3). -

-

-
Parameters:
encoding - the encoding to format String, will detect it if null -
Returns:
Map of track name and track number
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/VR.drawable.html b/doc/io/vov/vitamio/VR.drawable.html deleted file mode 100644 index 094de49..0000000 --- a/doc/io/vov/vitamio/VR.drawable.html +++ /dev/null @@ -1,281 +0,0 @@ - - - - - - -VR.drawable - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Class VR.drawable

-
-java.lang.Object
-  extended by io.vov.vitamio.VR.drawable
-
-
-
Enclosing class:
VR
-
-
-
-
public static final class VR.drawable
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - - - - - -
-Field Summary
-static intpause_button - -
-           
-static intplay_button - -
-           
-  - - - - - - - - - - -
-Constructor Summary
VR.drawable() - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-pause_button

-
-public static int pause_button
-
-
-
-
-
- -

-play_button

-
-public static int play_button
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-VR.drawable

-
-public VR.drawable()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/VR.html b/doc/io/vov/vitamio/VR.html deleted file mode 100644 index 160beae..0000000 --- a/doc/io/vov/vitamio/VR.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - - - -VR - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Class VR

-
-java.lang.Object
-  extended by io.vov.vitamio.VR
-
-
-
-
public class VR
extends java.lang.Object
- - -

-A resource holder within Vitamio Plugin -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - -
-Nested Class Summary
-static classVR.drawable - -
-           
-static classVR.id - -
-           
-static classVR.layout - -
-           
-static classVR.string - -
-           
-  - - - - - - - - - - -
-Constructor Summary
VR() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static DrawablegetDrawable(int id) - -
-           
-static java.lang.StringgetString(int id) - -
-           
-static Viewinflate(int id, - ViewGroup root) - -
-           
-static voidinit(Context ctx) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-VR

-
-public VR()
-
-
- - - - - - - - -
-Method Detail
- -

-init

-
-public static void init(Context ctx)
-                 throws VitamioInstaller.VitamioNotCompatibleException,
-                        VitamioInstaller.VitamioNotFoundException,
-                        NameNotFoundException
-
-
- -
Throws: -
VitamioInstaller.VitamioNotCompatibleException -
VitamioInstaller.VitamioNotFoundException -
NameNotFoundException
-
-
-
- -

-inflate

-
-public static View inflate(int id,
-                           ViewGroup root)
-
-
-
-
-
-
- -

-getDrawable

-
-public static Drawable getDrawable(int id)
-
-
-
-
-
-
- -

-getString

-
-public static java.lang.String getString(int id)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/VR.id.html b/doc/io/vov/vitamio/VR.id.html deleted file mode 100644 index 12927f2..0000000 --- a/doc/io/vov/vitamio/VR.id.html +++ /dev/null @@ -1,335 +0,0 @@ - - - - - - -VR.id - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Class VR.id

-
-java.lang.Object
-  extended by io.vov.vitamio.VR.id
-
-
-
Enclosing class:
VR
-
-
-
-
public static final class VR.id
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static intfile_name - -
-           
-static intmediacontroller_progress - -
-           
-static intpause - -
-           
-static inttime - -
-           
-static inttime_current - -
-           
-  - - - - - - - - - - -
-Constructor Summary
VR.id() - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-mediacontroller_progress

-
-public static int mediacontroller_progress
-
-
-
-
-
- -

-pause

-
-public static int pause
-
-
-
-
-
- -

-time

-
-public static int time
-
-
-
-
-
- -

-time_current

-
-public static int time_current
-
-
-
-
-
- -

-file_name

-
-public static int file_name
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-VR.id

-
-public VR.id()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/VR.layout.html b/doc/io/vov/vitamio/VR.layout.html deleted file mode 100644 index d3e6a3b..0000000 --- a/doc/io/vov/vitamio/VR.layout.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - -VR.layout - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Class VR.layout

-
-java.lang.Object
-  extended by io.vov.vitamio.VR.layout
-
-
-
Enclosing class:
VR
-
-
-
-
public static final class VR.layout
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Field Summary
-static intmedia_controller - -
-           
-  - - - - - - - - - - -
-Constructor Summary
VR.layout() - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-media_controller

-
-public static int media_controller
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-VR.layout

-
-public VR.layout()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/VR.string.html b/doc/io/vov/vitamio/VR.string.html deleted file mode 100644 index db59ac1..0000000 --- a/doc/io/vov/vitamio/VR.string.html +++ /dev/null @@ -1,317 +0,0 @@ - - - - - - -VR.string - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Class VR.string

-
-java.lang.Object
-  extended by io.vov.vitamio.VR.string
-
-
-
Enclosing class:
VR
-
-
-
-
public static final class VR.string
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static intVideoView_error_button - -
-           
-static intVideoView_error_text_invalid_progressive_playback - -
-           
-static intVideoView_error_text_unknown - -
-           
-static intVideoView_error_title - -
-           
-  - - - - - - - - - - -
-Constructor Summary
VR.string() - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-VideoView_error_button

-
-public static int VideoView_error_button
-
-
-
-
-
- -

-VideoView_error_text_invalid_progressive_playback

-
-public static int VideoView_error_text_invalid_progressive_playback
-
-
-
-
-
- -

-VideoView_error_text_unknown

-
-public static int VideoView_error_text_unknown
-
-
-
-
-
- -

-VideoView_error_title

-
-public static int VideoView_error_title
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-VR.string

-
-public VR.string()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/VitamioInstaller.VitamioNotCompatibleException.html b/doc/io/vov/vitamio/VitamioInstaller.VitamioNotCompatibleException.html deleted file mode 100644 index 933c5f1..0000000 --- a/doc/io/vov/vitamio/VitamioInstaller.VitamioNotCompatibleException.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - -VitamioInstaller.VitamioNotCompatibleException - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Class VitamioInstaller.VitamioNotCompatibleException

-
-java.lang.Object
-  extended by AndroidException
-      extended by io.vov.vitamio.VitamioInstaller.VitamioNotCompatibleException
-
-
-
Enclosing class:
VitamioInstaller
-
-
-
-
public static class VitamioInstaller.VitamioNotCompatibleException
extends AndroidException
- - -

-This exception will be thrown when Vitamio not compatible with the - device. I feel sorry for this. -

- -

-


- -

- - - - - - - - - - - - - - -
-Constructor Summary
VitamioInstaller.VitamioNotCompatibleException() - -
-           
VitamioInstaller.VitamioNotCompatibleException(java.lang.String name) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-VitamioInstaller.VitamioNotCompatibleException

-
-public VitamioInstaller.VitamioNotCompatibleException()
-
-
-
- -

-VitamioInstaller.VitamioNotCompatibleException

-
-public VitamioInstaller.VitamioNotCompatibleException(java.lang.String name)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/VitamioInstaller.VitamioNotFoundException.html b/doc/io/vov/vitamio/VitamioInstaller.VitamioNotFoundException.html deleted file mode 100644 index 1df06be..0000000 --- a/doc/io/vov/vitamio/VitamioInstaller.VitamioNotFoundException.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -VitamioInstaller.VitamioNotFoundException - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Class VitamioInstaller.VitamioNotFoundException

-
-java.lang.Object
-  extended by AndroidException
-      extended by io.vov.vitamio.VitamioInstaller.VitamioNotFoundException
-
-
-
Enclosing class:
VitamioInstaller
-
-
-
-
public static class VitamioInstaller.VitamioNotFoundException
extends AndroidException
- - -

-This exception will be thrown when Vitamio not found in the device. May - popup a dialog to guide the user install a compatible Vitamio. -

- -

-

-
See Also:
io.vov.vitamio.VitamioInstaller#showInstallerDialog(String, String)
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
VitamioInstaller.VitamioNotFoundException() - -
-           
VitamioInstaller.VitamioNotFoundException(java.lang.String name) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-VitamioInstaller.VitamioNotFoundException

-
-public VitamioInstaller.VitamioNotFoundException()
-
-
-
- -

-VitamioInstaller.VitamioNotFoundException

-
-public VitamioInstaller.VitamioNotFoundException(java.lang.String name)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/VitamioInstaller.html b/doc/io/vov/vitamio/VitamioInstaller.html deleted file mode 100644 index f28bdd6..0000000 --- a/doc/io/vov/vitamio/VitamioInstaller.html +++ /dev/null @@ -1,651 +0,0 @@ - - - - - - -VitamioInstaller - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio -
-Class VitamioInstaller

-
-java.lang.Object
-  extended by io.vov.vitamio.VitamioInstaller
-
-
-
-
public class VitamioInstaller
extends java.lang.Object
- - -

-It's recommended to use this class to check if Vitamio Plugin is installed in - the device before using any other classes and functions. -

- -

-


- -

- - - - - - - - - - - - - - - -
-Nested Class Summary
-static classVitamioInstaller.VitamioNotCompatibleException - -
-          This exception will be thrown when Vitamio not compatible with the - device.
-static classVitamioInstaller.VitamioNotFoundException - -
-          This exception will be thrown when Vitamio not found in the device.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static java.lang.StringVITAMIO_PACKAGE_ARMV6 - -
-           
-static java.lang.StringVITAMIO_PACKAGE_ARMV6_VFP - -
-           
-static java.lang.StringVITAMIO_PACKAGE_ARMV7_NEON - -
-           
-static java.lang.StringVITAMIO_PACKAGE_ARMV7_VFPV3 - -
-           
-static intVITAMIO_VERSION_CODE - -
-           
-static java.lang.StringVITAMIO_VERSION_NAME - -
-           
-  - - - - - - - - - - -
-Constructor Summary
VitamioInstaller(Context ctx) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- DialogbuildInstallerDialog(java.lang.String title, - java.lang.String msg, - java.lang.String button) - -
-          A simple helper dialog to guide the user install a compatible Vitamio - package, you may build a more beautiful one by yourself.
- DialogbuildNotCompatibleDialog(java.lang.String title, - java.lang.String msg, - java.lang.String button) - -
-          A simple helper dialog telling user Vitamio is not compatible with the - device, you may build a more beautiful one by yourself.
-static java.lang.StringcheckVitamioInstallation(Context ctx) - -
-          Check if a Vitamio package is installed
- VitamioInstallerclearSources() - -
-           
- VitamioInstallerfillDefaultSources() - -
-           
-static java.lang.StringgetCompatiblePackage() - -
-           
-static java.lang.StringgetLibraryPath(Context ctx) - -
-          Get the absolute path to Vitamio's library
- java.util.Map<java.lang.String,java.lang.String>getSources() - -
-           
- VitamioInstallerputSource(java.lang.String title, - java.lang.String url) - -
-           
- voidshowInstallerDialog(java.lang.String title, - java.lang.String msg, - java.lang.String button) - -
-          A simple helper dialog to guide the user install a compatible Vitamio - package, you may build a more beautiful one by yourself.
- voidshowNotCompatibleDialog(java.lang.String title, - java.lang.String msg, - java.lang.String button) - -
-          A simple helper dialog telling user Vitamio is not compatible with the - device, you may build a more beautiful one by yourself.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-VITAMIO_VERSION_CODE

-
-public static final int VITAMIO_VERSION_CODE
-
-
-
See Also:
Constant Field Values
-
-
- -

-VITAMIO_VERSION_NAME

-
-public static final java.lang.String VITAMIO_VERSION_NAME
-
-
-
See Also:
Constant Field Values
-
-
- -

-VITAMIO_PACKAGE_ARMV6

-
-public static final java.lang.String VITAMIO_PACKAGE_ARMV6
-
-
-
See Also:
Constant Field Values
-
-
- -

-VITAMIO_PACKAGE_ARMV6_VFP

-
-public static final java.lang.String VITAMIO_PACKAGE_ARMV6_VFP
-
-
-
See Also:
Constant Field Values
-
-
- -

-VITAMIO_PACKAGE_ARMV7_VFPV3

-
-public static final java.lang.String VITAMIO_PACKAGE_ARMV7_VFPV3
-
-
-
See Also:
Constant Field Values
-
-
- -

-VITAMIO_PACKAGE_ARMV7_NEON

-
-public static final java.lang.String VITAMIO_PACKAGE_ARMV7_NEON
-
-
-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-VitamioInstaller

-
-public VitamioInstaller(Context ctx)
-
-
- - - - - - - - -
-Method Detail
- -

-fillDefaultSources

-
-public VitamioInstaller fillDefaultSources()
-
-
-
-
-
-
- -

-putSource

-
-public VitamioInstaller putSource(java.lang.String title,
-                                  java.lang.String url)
-
-
-
-
-
-
- -

-getSources

-
-public java.util.Map<java.lang.String,java.lang.String> getSources()
-
-
-
-
-
-
- -

-clearSources

-
-public VitamioInstaller clearSources()
-
-
-
-
-
-
- -

-showInstallerDialog

-
-public void showInstallerDialog(java.lang.String title,
-                                java.lang.String msg,
-                                java.lang.String button)
-
-
A simple helper dialog to guide the user install a compatible Vitamio - package, you may build a more beautiful one by yourself. -

-

-
Parameters:
title - dialog's title
button - text on the dialog's button
-
-
-
- -

-buildInstallerDialog

-
-public Dialog buildInstallerDialog(java.lang.String title,
-                                   java.lang.String msg,
-                                   java.lang.String button)
-
-
A simple helper dialog to guide the user install a compatible Vitamio - package, you may build a more beautiful one by yourself. -

-

-
Parameters:
title - dialog's title
button - text on the dialog's button
-
-
-
- -

-showNotCompatibleDialog

-
-public void showNotCompatibleDialog(java.lang.String title,
-                                    java.lang.String msg,
-                                    java.lang.String button)
-
-
A simple helper dialog telling user Vitamio is not compatible with the - device, you may build a more beautiful one by yourself. -

-

-
Parameters:
title - dialog's title
msg - message displayed on dialog
button - text on the dialog's button
-
-
-
- -

-buildNotCompatibleDialog

-
-public Dialog buildNotCompatibleDialog(java.lang.String title,
-                                       java.lang.String msg,
-                                       java.lang.String button)
-
-
A simple helper dialog telling user Vitamio is not compatible with the - device, you may build a more beautiful one by yourself. -

-

-
Parameters:
title - dialog's title
msg - message displayed on dialog
button - text on the dialog's button
-
-
-
- -

-getCompatiblePackage

-
-public static java.lang.String getCompatiblePackage()
-
-
- -
Returns:
the best compatible Vitamio package name
-
-
-
- -

-checkVitamioInstallation

-
-public static java.lang.String checkVitamioInstallation(Context ctx)
-                                                 throws VitamioInstaller.VitamioNotCompatibleException,
-                                                        VitamioInstaller.VitamioNotFoundException
-
-
Check if a Vitamio package is installed -

-

-
Parameters:
ctx - a Context -
Returns:
the Vitamio package name installed in this device, it may be the - most compatible package, check getCompatiblePackage() -
Throws: -
VitamioInstaller.VitamioNotCompatibleException -
VitamioInstaller.VitamioNotFoundException
-
-
-
- -

-getLibraryPath

-
-public static java.lang.String getLibraryPath(Context ctx)
-                                       throws VitamioInstaller.VitamioNotCompatibleException,
-                                              VitamioInstaller.VitamioNotFoundException
-
-
Get the absolute path to Vitamio's library -

-

-
Parameters:
ctx - a Context -
Returns:
the absolute path to the libffmpeg.so -
Throws: -
VitamioInstaller.VitamioNotCompatibleException -
VitamioInstaller.VitamioNotFoundException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnBufferingUpdateListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnBufferingUpdateListener.html deleted file mode 100644 index 50c3b01..0000000 --- a/doc/io/vov/vitamio/class-use/MediaPlayer.OnBufferingUpdateListener.html +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - -Uses of Interface io.vov.vitamio.MediaPlayer.OnBufferingUpdateListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
io.vov.vitamio.MediaPlayer.OnBufferingUpdateListener

-
- - - - - - - - - - - - - -
-Packages that use MediaPlayer.OnBufferingUpdateListener
io.vov.vitamio  
io.vov.vitamio.widget  
-  -

- - - - - -
-Uses of MediaPlayer.OnBufferingUpdateListener in io.vov.vitamio
-  -

- - - - - - - - - -
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnBufferingUpdateListener
- voidMediaPlayer.setOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener listener) - -
-          Register a callback to be invoked when the status of a network stream's - buffer has changed.
-  -

- - - - - -
-Uses of MediaPlayer.OnBufferingUpdateListener in io.vov.vitamio.widget
-  -

- - - - - - - - - -
Methods in io.vov.vitamio.widget with parameters of type MediaPlayer.OnBufferingUpdateListener
- voidVideoView.setOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener l) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnCompletionListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnCompletionListener.html deleted file mode 100644 index c81dab8..0000000 --- a/doc/io/vov/vitamio/class-use/MediaPlayer.OnCompletionListener.html +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - -Uses of Interface io.vov.vitamio.MediaPlayer.OnCompletionListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
io.vov.vitamio.MediaPlayer.OnCompletionListener

-
- - - - - - - - - - - - - -
-Packages that use MediaPlayer.OnCompletionListener
io.vov.vitamio  
io.vov.vitamio.widget  
-  -

- - - - - -
-Uses of MediaPlayer.OnCompletionListener in io.vov.vitamio
-  -

- - - - - - - - - -
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnCompletionListener
- voidMediaPlayer.setOnCompletionListener(MediaPlayer.OnCompletionListener listener) - -
-          Register a callback to be invoked when the end of a media source has been - reached during playback.
-  -

- - - - - -
-Uses of MediaPlayer.OnCompletionListener in io.vov.vitamio.widget
-  -

- - - - - - - - - -
Methods in io.vov.vitamio.widget with parameters of type MediaPlayer.OnCompletionListener
- voidVideoView.setOnCompletionListener(MediaPlayer.OnCompletionListener l) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnErrorListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnErrorListener.html deleted file mode 100644 index 9a6a8da..0000000 --- a/doc/io/vov/vitamio/class-use/MediaPlayer.OnErrorListener.html +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - -Uses of Interface io.vov.vitamio.MediaPlayer.OnErrorListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
io.vov.vitamio.MediaPlayer.OnErrorListener

-
- - - - - - - - - - - - - -
-Packages that use MediaPlayer.OnErrorListener
io.vov.vitamio  
io.vov.vitamio.widget  
-  -

- - - - - -
-Uses of MediaPlayer.OnErrorListener in io.vov.vitamio
-  -

- - - - - - - - - -
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnErrorListener
- voidMediaPlayer.setOnErrorListener(MediaPlayer.OnErrorListener listener) - -
-          Register a callback to be invoked when an error has happened during an - asynchronous operation.
-  -

- - - - - -
-Uses of MediaPlayer.OnErrorListener in io.vov.vitamio.widget
-  -

- - - - - - - - - -
Methods in io.vov.vitamio.widget with parameters of type MediaPlayer.OnErrorListener
- voidVideoView.setOnErrorListener(MediaPlayer.OnErrorListener l) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnInfoListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnInfoListener.html deleted file mode 100644 index 9b1a3ce..0000000 --- a/doc/io/vov/vitamio/class-use/MediaPlayer.OnInfoListener.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - -Uses of Interface io.vov.vitamio.MediaPlayer.OnInfoListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
io.vov.vitamio.MediaPlayer.OnInfoListener

-
- - - - - - - - - - - - - -
-Packages that use MediaPlayer.OnInfoListener
io.vov.vitamio  
io.vov.vitamio.widget  
-  -

- - - - - -
-Uses of MediaPlayer.OnInfoListener in io.vov.vitamio
-  -

- - - - - - - - - -
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnInfoListener
- voidMediaPlayer.setOnInfoListener(MediaPlayer.OnInfoListener listener) - -
-           
-  -

- - - - - -
-Uses of MediaPlayer.OnInfoListener in io.vov.vitamio.widget
-  -

- - - - - - - - - -
Methods in io.vov.vitamio.widget with parameters of type MediaPlayer.OnInfoListener
- voidVideoView.setOnInfoListener(MediaPlayer.OnInfoListener l) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnPreparedListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnPreparedListener.html deleted file mode 100644 index c82463a..0000000 --- a/doc/io/vov/vitamio/class-use/MediaPlayer.OnPreparedListener.html +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - -Uses of Interface io.vov.vitamio.MediaPlayer.OnPreparedListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
io.vov.vitamio.MediaPlayer.OnPreparedListener

-
- - - - - - - - - - - - - -
-Packages that use MediaPlayer.OnPreparedListener
io.vov.vitamio  
io.vov.vitamio.widget  
-  -

- - - - - -
-Uses of MediaPlayer.OnPreparedListener in io.vov.vitamio
-  -

- - - - - - - - - -
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnPreparedListener
- voidMediaPlayer.setOnPreparedListener(MediaPlayer.OnPreparedListener listener) - -
-          Register a callback to be invoked when the media source is ready for - playback.
-  -

- - - - - -
-Uses of MediaPlayer.OnPreparedListener in io.vov.vitamio.widget
-  -

- - - - - - - - - -
Methods in io.vov.vitamio.widget with parameters of type MediaPlayer.OnPreparedListener
- voidVideoView.setOnPreparedListener(MediaPlayer.OnPreparedListener l) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnSeekCompleteListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnSeekCompleteListener.html deleted file mode 100644 index a5948a3..0000000 --- a/doc/io/vov/vitamio/class-use/MediaPlayer.OnSeekCompleteListener.html +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - -Uses of Interface io.vov.vitamio.MediaPlayer.OnSeekCompleteListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
io.vov.vitamio.MediaPlayer.OnSeekCompleteListener

-
- - - - - - - - - - - - - -
-Packages that use MediaPlayer.OnSeekCompleteListener
io.vov.vitamio  
io.vov.vitamio.widget  
-  -

- - - - - -
-Uses of MediaPlayer.OnSeekCompleteListener in io.vov.vitamio
-  -

- - - - - - - - - -
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnSeekCompleteListener
- voidMediaPlayer.setOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener listener) - -
-          Register a callback to be invoked when a seek operation has been - completed.
-  -

- - - - - -
-Uses of MediaPlayer.OnSeekCompleteListener in io.vov.vitamio.widget
-  -

- - - - - - - - - -
Methods in io.vov.vitamio.widget with parameters of type MediaPlayer.OnSeekCompleteListener
- voidVideoView.setOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener l) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnSubtitleUpdateListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnSubtitleUpdateListener.html deleted file mode 100644 index b925bc3..0000000 --- a/doc/io/vov/vitamio/class-use/MediaPlayer.OnSubtitleUpdateListener.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - -Uses of Interface io.vov.vitamio.MediaPlayer.OnSubtitleUpdateListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
io.vov.vitamio.MediaPlayer.OnSubtitleUpdateListener

-
- - - - - - - - - - - - - -
-Packages that use MediaPlayer.OnSubtitleUpdateListener
io.vov.vitamio  
io.vov.vitamio.widget  
-  -

- - - - - -
-Uses of MediaPlayer.OnSubtitleUpdateListener in io.vov.vitamio
-  -

- - - - - - - - - -
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnSubtitleUpdateListener
- voidMediaPlayer.setOnSubtitleUpdateListener(MediaPlayer.OnSubtitleUpdateListener listener) - -
-          Register a callback to be invoked when a subtitle need to display.
-  -

- - - - - -
-Uses of MediaPlayer.OnSubtitleUpdateListener in io.vov.vitamio.widget
-  -

- - - - - - - - - -
Methods in io.vov.vitamio.widget with parameters of type MediaPlayer.OnSubtitleUpdateListener
- voidVideoView.setOnSubtitleUpdateListener(MediaPlayer.OnSubtitleUpdateListener l) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnVideoSizeChangedListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnVideoSizeChangedListener.html deleted file mode 100644 index 2a26124..0000000 --- a/doc/io/vov/vitamio/class-use/MediaPlayer.OnVideoSizeChangedListener.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - -Uses of Interface io.vov.vitamio.MediaPlayer.OnVideoSizeChangedListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
io.vov.vitamio.MediaPlayer.OnVideoSizeChangedListener

-
- - - - - - - - - -
-Packages that use MediaPlayer.OnVideoSizeChangedListener
io.vov.vitamio  
-  -

- - - - - -
-Uses of MediaPlayer.OnVideoSizeChangedListener in io.vov.vitamio
-  -

- - - - - - - - - -
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnVideoSizeChangedListener
- voidMediaPlayer.setOnVideoSizeChangedListener(MediaPlayer.OnVideoSizeChangedListener listener) - -
-          Register a callback to be invoked when the video size is known or - updated.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.html b/doc/io/vov/vitamio/class-use/MediaPlayer.html deleted file mode 100644 index e095ea1..0000000 --- a/doc/io/vov/vitamio/class-use/MediaPlayer.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - -Uses of Class io.vov.vitamio.MediaPlayer - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
io.vov.vitamio.MediaPlayer

-
- - - - - - - - - -
-Packages that use MediaPlayer
io.vov.vitamio  
-  -

- - - - - -
-Uses of MediaPlayer in io.vov.vitamio
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in io.vov.vitamio with parameters of type MediaPlayer
- voidMediaPlayer.OnBufferingUpdateListener.onBufferingUpdate(MediaPlayer mp, - int percent) - -
-          Called to update status in buffering a media stream.
- voidMediaPlayer.OnCompletionListener.onCompletion(MediaPlayer mp) - -
-          Called when the end of a media source is reached during playback.
- booleanMediaPlayer.OnErrorListener.onError(MediaPlayer mp, - int what, - int extra) - -
-          Called to indicate an error.
- booleanMediaPlayer.OnInfoListener.onInfo(MediaPlayer mp, - int what, - int extra) - -
-          Called to indicate an info or a warning.
- voidMediaPlayer.OnPreparedListener.onPrepared(MediaPlayer mp) - -
-          Called when the media file is ready for playback.
- voidMediaPlayer.OnSeekCompleteListener.onSeekComplete(MediaPlayer mp) - -
-          Called to indicate the completion of a seek operation.
- voidMediaPlayer.OnVideoSizeChangedListener.onVideoSizeChanged(MediaPlayer mp, - int width, - int height) - -
-          Called to indicate the video size
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/VR.drawable.html b/doc/io/vov/vitamio/class-use/VR.drawable.html deleted file mode 100644 index 14e0cb3..0000000 --- a/doc/io/vov/vitamio/class-use/VR.drawable.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class io.vov.vitamio.VR.drawable - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
io.vov.vitamio.VR.drawable

-
-No usage of io.vov.vitamio.VR.drawable -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/VR.html b/doc/io/vov/vitamio/class-use/VR.html deleted file mode 100644 index 6ebb24f..0000000 --- a/doc/io/vov/vitamio/class-use/VR.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class io.vov.vitamio.VR - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
io.vov.vitamio.VR

-
-No usage of io.vov.vitamio.VR -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/VR.id.html b/doc/io/vov/vitamio/class-use/VR.id.html deleted file mode 100644 index 569a3f4..0000000 --- a/doc/io/vov/vitamio/class-use/VR.id.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class io.vov.vitamio.VR.id - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
io.vov.vitamio.VR.id

-
-No usage of io.vov.vitamio.VR.id -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/VR.layout.html b/doc/io/vov/vitamio/class-use/VR.layout.html deleted file mode 100644 index 05f4388..0000000 --- a/doc/io/vov/vitamio/class-use/VR.layout.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class io.vov.vitamio.VR.layout - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
io.vov.vitamio.VR.layout

-
-No usage of io.vov.vitamio.VR.layout -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/VR.string.html b/doc/io/vov/vitamio/class-use/VR.string.html deleted file mode 100644 index e7b8db6..0000000 --- a/doc/io/vov/vitamio/class-use/VR.string.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class io.vov.vitamio.VR.string - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
io.vov.vitamio.VR.string

-
-No usage of io.vov.vitamio.VR.string -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/VitamioInstaller.VitamioNotCompatibleException.html b/doc/io/vov/vitamio/class-use/VitamioInstaller.VitamioNotCompatibleException.html deleted file mode 100644 index cec037d..0000000 --- a/doc/io/vov/vitamio/class-use/VitamioInstaller.VitamioNotCompatibleException.html +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - -Uses of Class io.vov.vitamio.VitamioInstaller.VitamioNotCompatibleException - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
io.vov.vitamio.VitamioInstaller.VitamioNotCompatibleException

-
- - - - - - - - - -
-Packages that use VitamioInstaller.VitamioNotCompatibleException
io.vov.vitamio  
-  -

- - - - - -
-Uses of VitamioInstaller.VitamioNotCompatibleException in io.vov.vitamio
-  -

- - - - - - - - - - - - - - - - - -
Methods in io.vov.vitamio that throw VitamioInstaller.VitamioNotCompatibleException
-static java.lang.StringVitamioInstaller.checkVitamioInstallation(Context ctx) - -
-          Check if a Vitamio package is installed
-static java.lang.StringVitamioInstaller.getLibraryPath(Context ctx) - -
-          Get the absolute path to Vitamio's library
-static voidVR.init(Context ctx) - -
-           
-  -

- - - - - - - - -
Constructors in io.vov.vitamio that throw VitamioInstaller.VitamioNotCompatibleException
MediaPlayer(Context ctx) - -
-          Default constructor.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/VitamioInstaller.VitamioNotFoundException.html b/doc/io/vov/vitamio/class-use/VitamioInstaller.VitamioNotFoundException.html deleted file mode 100644 index c6c9f0d..0000000 --- a/doc/io/vov/vitamio/class-use/VitamioInstaller.VitamioNotFoundException.html +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - -Uses of Class io.vov.vitamio.VitamioInstaller.VitamioNotFoundException - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
io.vov.vitamio.VitamioInstaller.VitamioNotFoundException

-
- - - - - - - - - -
-Packages that use VitamioInstaller.VitamioNotFoundException
io.vov.vitamio  
-  -

- - - - - -
-Uses of VitamioInstaller.VitamioNotFoundException in io.vov.vitamio
-  -

- - - - - - - - - - - - - - - - - -
Methods in io.vov.vitamio that throw VitamioInstaller.VitamioNotFoundException
-static java.lang.StringVitamioInstaller.checkVitamioInstallation(Context ctx) - -
-          Check if a Vitamio package is installed
-static java.lang.StringVitamioInstaller.getLibraryPath(Context ctx) - -
-          Get the absolute path to Vitamio's library
-static voidVR.init(Context ctx) - -
-           
-  -

- - - - - - - - -
Constructors in io.vov.vitamio that throw VitamioInstaller.VitamioNotFoundException
MediaPlayer(Context ctx) - -
-          Default constructor.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/class-use/VitamioInstaller.html b/doc/io/vov/vitamio/class-use/VitamioInstaller.html deleted file mode 100644 index 946655e..0000000 --- a/doc/io/vov/vitamio/class-use/VitamioInstaller.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - -Uses of Class io.vov.vitamio.VitamioInstaller - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
io.vov.vitamio.VitamioInstaller

-
- - - - - - - - - -
-Packages that use VitamioInstaller
io.vov.vitamio  
-  -

- - - - - -
-Uses of VitamioInstaller in io.vov.vitamio
-  -

- - - - - - - - - - - - - - - - - -
Methods in io.vov.vitamio that return VitamioInstaller
- VitamioInstallerVitamioInstaller.clearSources() - -
-           
- VitamioInstallerVitamioInstaller.fillDefaultSources() - -
-           
- VitamioInstallerVitamioInstaller.putSource(java.lang.String title, - java.lang.String url) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/package-frame.html b/doc/io/vov/vitamio/package-frame.html deleted file mode 100644 index 0226b12..0000000 --- a/doc/io/vov/vitamio/package-frame.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - -io.vov.vitamio - - - - - - - - - - - -io.vov.vitamio - - - - -
-Interfaces  - -
-MediaPlayer.OnBufferingUpdateListener -
-MediaPlayer.OnCompletionListener -
-MediaPlayer.OnErrorListener -
-MediaPlayer.OnInfoListener -
-MediaPlayer.OnPreparedListener -
-MediaPlayer.OnSeekCompleteListener -
-MediaPlayer.OnSubtitleUpdateListener -
-MediaPlayer.OnVideoSizeChangedListener
- - - - - - -
-Classes  - -
-MediaPlayer -
-VitamioInstaller -
-VitamioInstaller.VitamioNotCompatibleException -
-VitamioInstaller.VitamioNotFoundException -
-VR -
-VR.drawable -
-VR.id -
-VR.layout -
-VR.string
- - - - diff --git a/doc/io/vov/vitamio/package-summary.html b/doc/io/vov/vitamio/package-summary.html deleted file mode 100644 index c831e4f..0000000 --- a/doc/io/vov/vitamio/package-summary.html +++ /dev/null @@ -1,234 +0,0 @@ - - - - - - -io.vov.vitamio - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package io.vov.vitamio -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Interface Summary
MediaPlayer.OnBufferingUpdateListener 
MediaPlayer.OnCompletionListener 
MediaPlayer.OnErrorListener 
MediaPlayer.OnInfoListener 
MediaPlayer.OnPreparedListener 
MediaPlayer.OnSeekCompleteListener 
MediaPlayer.OnSubtitleUpdateListener 
MediaPlayer.OnVideoSizeChangedListener 
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
MediaPlayerMediaPlayer class can be used to control playback of audio/video files and - streams.
VitamioInstallerIt's recommended to use this class to check if Vitamio Plugin is installed in - the device before using any other classes and functions.
VitamioInstaller.VitamioNotCompatibleExceptionThis exception will be thrown when Vitamio not compatible with the - device.
VitamioInstaller.VitamioNotFoundExceptionThis exception will be thrown when Vitamio not found in the device.
VRA resource holder within Vitamio Plugin
VR.drawable 
VR.id 
VR.layout 
VR.string 
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/package-tree.html b/doc/io/vov/vitamio/package-tree.html deleted file mode 100644 index 8fb6c47..0000000 --- a/doc/io/vov/vitamio/package-tree.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - -io.vov.vitamio Class Hierarchy - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package io.vov.vitamio -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/package-use.html b/doc/io/vov/vitamio/package-use.html deleted file mode 100644 index aef3759..0000000 --- a/doc/io/vov/vitamio/package-use.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - -Uses of Package io.vov.vitamio - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
io.vov.vitamio

-
- - - - - - - - - - - - - -
-Packages that use io.vov.vitamio
io.vov.vitamio  
io.vov.vitamio.widget  
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Classes in io.vov.vitamio used by io.vov.vitamio
MediaPlayer - -
-          MediaPlayer class can be used to control playback of audio/video files and - streams.
MediaPlayer.OnBufferingUpdateListener - -
-           
MediaPlayer.OnCompletionListener - -
-           
MediaPlayer.OnErrorListener - -
-           
MediaPlayer.OnInfoListener - -
-           
MediaPlayer.OnPreparedListener - -
-           
MediaPlayer.OnSeekCompleteListener - -
-           
MediaPlayer.OnSubtitleUpdateListener - -
-           
MediaPlayer.OnVideoSizeChangedListener - -
-           
VitamioInstaller - -
-          It's recommended to use this class to check if Vitamio Plugin is installed in - the device before using any other classes and functions.
VitamioInstaller.VitamioNotCompatibleException - -
-          This exception will be thrown when Vitamio not compatible with the - device.
VitamioInstaller.VitamioNotFoundException - -
-          This exception will be thrown when Vitamio not found in the device.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - -
-Classes in io.vov.vitamio used by io.vov.vitamio.widget
MediaPlayer.OnBufferingUpdateListener - -
-           
MediaPlayer.OnCompletionListener - -
-           
MediaPlayer.OnErrorListener - -
-           
MediaPlayer.OnInfoListener - -
-           
MediaPlayer.OnPreparedListener - -
-           
MediaPlayer.OnSeekCompleteListener - -
-           
MediaPlayer.OnSubtitleUpdateListener - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/widget/MediaController.MediaPlayerControl.html b/doc/io/vov/vitamio/widget/MediaController.MediaPlayerControl.html deleted file mode 100644 index ae62f85..0000000 --- a/doc/io/vov/vitamio/widget/MediaController.MediaPlayerControl.html +++ /dev/null @@ -1,383 +0,0 @@ - - - - - - -MediaController.MediaPlayerControl - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio.widget -
-Interface MediaController.MediaPlayerControl

-
-
All Known Implementing Classes:
VideoView
-
-
-
Enclosing class:
MediaController
-
-
-
-
public static interface MediaController.MediaPlayerControl
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancanPause() - -
-           
- booleancanSeekBackward() - -
-           
- booleancanSeekForward() - -
-           
- intgetBufferPercentage() - -
-           
- longgetCurrentPosition() - -
-           
- longgetDuration() - -
-           
- booleanisPlaying() - -
-           
- voidpause() - -
-           
- voidseekTo(long pos) - -
-           
- voidstart() - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-start

-
-void start()
-
-
-
-
-
-
- -

-pause

-
-void pause()
-
-
-
-
-
-
- -

-getDuration

-
-long getDuration()
-
-
-
-
-
-
- -

-getCurrentPosition

-
-long getCurrentPosition()
-
-
-
-
-
-
- -

-seekTo

-
-void seekTo(long pos)
-
-
-
-
-
-
- -

-isPlaying

-
-boolean isPlaying()
-
-
-
-
-
-
- -

-getBufferPercentage

-
-int getBufferPercentage()
-
-
-
-
-
-
- -

-canPause

-
-boolean canPause()
-
-
-
-
-
-
- -

-canSeekBackward

-
-boolean canSeekBackward()
-
-
-
-
-
-
- -

-canSeekForward

-
-boolean canSeekForward()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/widget/MediaController.html b/doc/io/vov/vitamio/widget/MediaController.html deleted file mode 100644 index f2ec2cf..0000000 --- a/doc/io/vov/vitamio/widget/MediaController.html +++ /dev/null @@ -1,538 +0,0 @@ - - - - - - -MediaController - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio.widget -
-Class MediaController

-
-java.lang.Object
-  extended by FrameLayout
-      extended by io.vov.vitamio.widget.MediaController
-
-
-
-
public class MediaController
extends FrameLayout
- - -

-A view containing controls for a MediaPlayer. Typically contains the buttons - like "Play/Pause" and a progress slider. It takes care of synchronizing the - controls with the state of the MediaPlayer. -

- The way to use this class is to instantiate it programatically. 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. -

- Functions like show() and hide() have no effect when MediaController is - created in an xml layout. -

- -

-


- -

- - - - - - - - - - - -
-Nested Class Summary
-static interfaceMediaController.MediaPlayerControl - -
-           
-  - - - - - - - - - - - - - -
-Constructor Summary
MediaController(Context context) - -
-           
MediaController(Context context, - AttributeSet attrs) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleandispatchKeyEvent(KeyEvent event) - -
-           
- voidhide() - -
-           
- booleanisShowing() - -
-           
- voidonFinishInflate() - -
-           
- booleanonTouchEvent(MotionEvent event) - -
-           
- booleanonTrackballEvent(MotionEvent ev) - -
-           
- voidsetAnchorView(View view) - -
-          Set the view that acts as the anchor for the control view.
- voidsetEnabled(boolean enabled) - -
-           
- voidsetFileName(java.lang.String name) - -
-           
- voidsetInfoView(TextView v) - -
-           
- voidsetMediaPlayer(MediaController.MediaPlayerControl player) - -
-           
- voidshow() - -
-           
- voidshow(int timeout) - -
-          Show the controller on screen.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MediaController

-
-public MediaController(Context context,
-                       AttributeSet attrs)
-
-
-
- -

-MediaController

-
-public MediaController(Context context)
-
-
- - - - - - - - -
-Method Detail
- -

-onFinishInflate

-
-public void onFinishInflate()
-
-
-
-
-
-
- -

-setAnchorView

-
-public void setAnchorView(View view)
-
-
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. -

-

-
Parameters:
view - The view to which to anchor the controller when it is - visible.
-
-
-
- -

-setMediaPlayer

-
-public void setMediaPlayer(MediaController.MediaPlayerControl player)
-
-
-
-
-
-
- -

-show

-
-public void show()
-
-
-
-
-
-
- -

-setFileName

-
-public void setFileName(java.lang.String name)
-
-
-
-
-
-
- -

-setInfoView

-
-public void setInfoView(TextView v)
-
-
-
-
-
-
- -

-show

-
-public void show(int timeout)
-
-
Show the controller on screen. It will go away automatically after - 'timeout' milliseconds of inactivity. -

-

-
Parameters:
timeout - The timeout in milliseconds. Use 0 to show the controller - until hide() is called.
-
-
-
- -

-isShowing

-
-public boolean isShowing()
-
-
-
-
-
-
- -

-hide

-
-public void hide()
-
-
-
-
-
-
- -

-onTouchEvent

-
-public boolean onTouchEvent(MotionEvent event)
-
-
-
-
-
-
- -

-onTrackballEvent

-
-public boolean onTrackballEvent(MotionEvent ev)
-
-
-
-
-
-
- -

-dispatchKeyEvent

-
-public boolean dispatchKeyEvent(KeyEvent event)
-
-
-
-
-
-
- -

-setEnabled

-
-public void setEnabled(boolean enabled)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/widget/VideoView.html b/doc/io/vov/vitamio/widget/VideoView.html deleted file mode 100644 index 173bfd5..0000000 --- a/doc/io/vov/vitamio/widget/VideoView.html +++ /dev/null @@ -1,1441 +0,0 @@ - - - - - - -VideoView - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -io.vov.vitamio.widget -
-Class VideoView

-
-java.lang.Object
-  extended by SurfaceView
-      extended by io.vov.vitamio.widget.VideoView
-
-
-
All Implemented Interfaces:
MediaController.MediaPlayerControl
-
-
-
-
public class VideoView
extends SurfaceView
implements MediaController.MediaPlayerControl
- - -

-Displays a video file. The VideoView class can load images from various - sources (such as resources or content providers), takes care of computing its - measurement from the video so that it can be used in any layout manager, and - provides various display options such as scaling and tinting. - - VideoView also provide many wrapper methods for - MediaPlayer, such as getVideoWidth(), - setSubShown(boolean) -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static intVIDEO_LAYOUT_ORIGIN - -
-           
-static intVIDEO_LAYOUT_SCALE - -
-           
-static intVIDEO_LAYOUT_STRETCH - -
-           
-static intVIDEO_LAYOUT_ZOOM - -
-           
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
VideoView(Context context) - -
-           
VideoView(Context context, - AttributeSet attrs) - -
-           
VideoView(Context context, - AttributeSet attrs, - int defStyle) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancanPause() - -
-           
- booleancanSeekBackward() - -
-           
- booleancanSeekForward() - -
-           
- intgetAudioTrack() - -
-           
- java.util.HashMap<java.lang.String,java.lang.Integer>getAudioTrackMap(java.lang.String encoding) - -
-           
- intgetBufferPercentage() - -
-           
- longgetCurrentPosition() - -
-           
- longgetDuration() - -
-           
- java.lang.StringgetMetaEncoding() - -
-           
- intgetSubLocation() - -
-           
- java.lang.StringgetSubPath() - -
-           
- intgetSubTrack() - -
-           
- java.util.HashMap<java.lang.String,java.lang.Integer>getSubTrackMap(java.lang.String encoding) - -
-           
- floatgetVideoAspectRatio() - -
-           
- intgetVideoHeight() - -
-           
- intgetVideoWidth() - -
-           
- booleanisBuffering() - -
-           
- booleanisPlaying() - -
-           
- booleanisValid() - -
-           
- booleanonKeyDown(int keyCode, - KeyEvent event) - -
-           
- booleanonTouchEvent(MotionEvent ev) - -
-           
- booleanonTrackballEvent(MotionEvent ev) - -
-           
- voidpause() - -
-           
- voidresume() - -
-           
- voidseekTo(long msec) - -
-           
- voidsetAudioTrack(int audioIndex) - -
-           
- voidsetBufferSize(int bufSize) - -
-           
- voidsetMediaController(MediaController controller) - -
-           
- voidsetMetaEncoding(java.lang.String encoding) - -
-           
- voidsetOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener l) - -
-           
- voidsetOnCompletionListener(MediaPlayer.OnCompletionListener l) - -
-           
- voidsetOnErrorListener(MediaPlayer.OnErrorListener l) - -
-           
- voidsetOnInfoListener(MediaPlayer.OnInfoListener l) - -
-           
- voidsetOnPreparedListener(MediaPlayer.OnPreparedListener l) - -
-           
- voidsetOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener l) - -
-           
- voidsetOnSubtitleUpdateListener(MediaPlayer.OnSubtitleUpdateListener l) - -
-           
- voidsetSubEncoding(java.lang.String encoding) - -
-           
- voidsetSubPath(java.lang.String subPath) - -
-           
- voidsetSubShown(boolean shown) - -
-           
- voidsetSubTrack(int trackId) - -
-           
- voidsetVideoLayout(int layout, - float aspectRatio) - -
-          Set the display options
- voidsetVideoPath(java.lang.String path) - -
-           
- voidsetVideoQuality(int quality) - -
-           
- voidsetVideoURI(Uri uri) - -
-           
- voidsetVolume(float leftVolume, - float rightVolume) - -
-           
- voidstart() - -
-           
- voidstopPlayback() - -
-           
- voidsuspend() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-VIDEO_LAYOUT_ORIGIN

-
-public static final int VIDEO_LAYOUT_ORIGIN
-
-
-
See Also:
Constant Field Values
-
-
- -

-VIDEO_LAYOUT_SCALE

-
-public static final int VIDEO_LAYOUT_SCALE
-
-
-
See Also:
Constant Field Values
-
-
- -

-VIDEO_LAYOUT_STRETCH

-
-public static final int VIDEO_LAYOUT_STRETCH
-
-
-
See Also:
Constant Field Values
-
-
- -

-VIDEO_LAYOUT_ZOOM

-
-public static final int VIDEO_LAYOUT_ZOOM
-
-
-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-VideoView

-
-public VideoView(Context context)
-
-
-
- -

-VideoView

-
-public VideoView(Context context,
-                 AttributeSet attrs)
-
-
-
- -

-VideoView

-
-public VideoView(Context context,
-                 AttributeSet attrs,
-                 int defStyle)
-
-
- - - - - - - - -
-Method Detail
- -

-setVideoLayout

-
-public void setVideoLayout(int layout,
-                           float aspectRatio)
-
-
Set the display options -

-

-
-
-
-
Parameters:
layout -
aspectRatio - video aspect ratio, will audo detect if 0.
-
-
-
- -

-isValid

-
-public boolean isValid()
-
-
-
-
-
-
-
-
-
- -

-setVideoPath

-
-public void setVideoPath(java.lang.String path)
-
-
-
-
-
-
-
-
-
- -

-setVideoURI

-
-public void setVideoURI(Uri uri)
-
-
-
-
-
-
-
-
-
- -

-stopPlayback

-
-public void stopPlayback()
-
-
-
-
-
-
-
-
-
- -

-setMediaController

-
-public void setMediaController(MediaController controller)
-
-
-
-
-
-
-
-
-
- -

-setOnPreparedListener

-
-public void setOnPreparedListener(MediaPlayer.OnPreparedListener l)
-
-
-
-
-
-
-
-
-
- -

-setOnCompletionListener

-
-public void setOnCompletionListener(MediaPlayer.OnCompletionListener l)
-
-
-
-
-
-
-
-
-
- -

-setOnErrorListener

-
-public void setOnErrorListener(MediaPlayer.OnErrorListener l)
-
-
-
-
-
-
-
-
-
- -

-setOnBufferingUpdateListener

-
-public void setOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener l)
-
-
-
-
-
-
-
-
-
- -

-setOnSeekCompleteListener

-
-public void setOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener l)
-
-
-
-
-
-
-
-
-
- -

-setOnSubtitleUpdateListener

-
-public void setOnSubtitleUpdateListener(MediaPlayer.OnSubtitleUpdateListener l)
-
-
-
-
-
-
-
-
-
- -

-setOnInfoListener

-
-public void setOnInfoListener(MediaPlayer.OnInfoListener l)
-
-
-
-
-
-
-
-
-
- -

-onTouchEvent

-
-public boolean onTouchEvent(MotionEvent ev)
-
-
-
-
-
-
-
-
-
- -

-onTrackballEvent

-
-public boolean onTrackballEvent(MotionEvent ev)
-
-
-
-
-
-
-
-
-
- -

-onKeyDown

-
-public boolean onKeyDown(int keyCode,
-                         KeyEvent event)
-
-
-
-
-
-
-
-
-
- -

-start

-
-public void start()
-
-
-
Specified by:
start in interface MediaController.MediaPlayerControl
-
-
-
-
-
-
- -

-pause

-
-public void pause()
-
-
-
Specified by:
pause in interface MediaController.MediaPlayerControl
-
-
-
-
-
-
- -

-suspend

-
-public void suspend()
-
-
-
-
-
-
-
-
-
- -

-resume

-
-public void resume()
-
-
-
-
-
-
-
-
-
- -

-getDuration

-
-public long getDuration()
-
-
-
Specified by:
getDuration in interface MediaController.MediaPlayerControl
-
-
-
-
-
-
- -

-getCurrentPosition

-
-public long getCurrentPosition()
-
-
-
Specified by:
getCurrentPosition in interface MediaController.MediaPlayerControl
-
-
-
-
-
-
- -

-seekTo

-
-public void seekTo(long msec)
-
-
-
Specified by:
seekTo in interface MediaController.MediaPlayerControl
-
-
-
-
-
-
- -

-isPlaying

-
-public boolean isPlaying()
-
-
-
Specified by:
isPlaying in interface MediaController.MediaPlayerControl
-
-
-
-
-
-
- -

-getBufferPercentage

-
-public int getBufferPercentage()
-
-
-
Specified by:
getBufferPercentage in interface MediaController.MediaPlayerControl
-
-
-
-
-
-
- -

-setVolume

-
-public void setVolume(float leftVolume,
-                      float rightVolume)
-
-
-
-
-
-
-
-
-
- -

-getVideoWidth

-
-public int getVideoWidth()
-
-
-
-
-
-
-
-
-
- -

-getVideoHeight

-
-public int getVideoHeight()
-
-
-
-
-
-
-
-
-
- -

-getVideoAspectRatio

-
-public float getVideoAspectRatio()
-
-
-
-
-
-
-
-
-
- -

-setVideoQuality

-
-public void setVideoQuality(int quality)
-
-
-
-
-
-
-
-
-
- -

-setBufferSize

-
-public void setBufferSize(int bufSize)
-
-
-
-
-
-
-
-
-
- -

-isBuffering

-
-public boolean isBuffering()
-
-
-
-
-
-
-
-
-
- -

-setMetaEncoding

-
-public void setMetaEncoding(java.lang.String encoding)
-
-
-
-
-
-
-
-
-
- -

-getMetaEncoding

-
-public java.lang.String getMetaEncoding()
-
-
-
-
-
-
-
-
-
- -

-getAudioTrackMap

-
-public java.util.HashMap<java.lang.String,java.lang.Integer> getAudioTrackMap(java.lang.String encoding)
-
-
-
-
-
-
-
-
-
- -

-getAudioTrack

-
-public int getAudioTrack()
-
-
-
-
-
-
-
-
-
- -

-setAudioTrack

-
-public void setAudioTrack(int audioIndex)
-
-
-
-
-
-
-
-
-
- -

-setSubShown

-
-public void setSubShown(boolean shown)
-
-
-
-
-
-
-
-
-
- -

-setSubEncoding

-
-public void setSubEncoding(java.lang.String encoding)
-
-
-
-
-
-
-
-
-
- -

-getSubLocation

-
-public int getSubLocation()
-
-
-
-
-
-
-
-
-
- -

-setSubPath

-
-public void setSubPath(java.lang.String subPath)
-
-
-
-
-
-
-
-
-
- -

-getSubPath

-
-public java.lang.String getSubPath()
-
-
-
-
-
-
-
-
-
- -

-setSubTrack

-
-public void setSubTrack(int trackId)
-
-
-
-
-
-
-
-
-
- -

-getSubTrack

-
-public int getSubTrack()
-
-
-
-
-
-
-
-
-
- -

-getSubTrackMap

-
-public java.util.HashMap<java.lang.String,java.lang.Integer> getSubTrackMap(java.lang.String encoding)
-
-
-
-
-
-
-
-
-
- -

-canPause

-
-public boolean canPause()
-
-
-
Specified by:
canPause in interface MediaController.MediaPlayerControl
-
-
-
-
-
-
- -

-canSeekBackward

-
-public boolean canSeekBackward()
-
-
-
Specified by:
canSeekBackward in interface MediaController.MediaPlayerControl
-
-
-
-
-
-
- -

-canSeekForward

-
-public boolean canSeekForward()
-
-
-
Specified by:
canSeekForward in interface MediaController.MediaPlayerControl
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/widget/class-use/MediaController.MediaPlayerControl.html b/doc/io/vov/vitamio/widget/class-use/MediaController.MediaPlayerControl.html deleted file mode 100644 index bf3353b..0000000 --- a/doc/io/vov/vitamio/widget/class-use/MediaController.MediaPlayerControl.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Interface io.vov.vitamio.widget.MediaController.MediaPlayerControl - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
io.vov.vitamio.widget.MediaController.MediaPlayerControl

-
- - - - - - - - - -
-Packages that use MediaController.MediaPlayerControl
io.vov.vitamio.widget  
-  -

- - - - - -
-Uses of MediaController.MediaPlayerControl in io.vov.vitamio.widget
-  -

- - - - - - - - - -
Classes in io.vov.vitamio.widget that implement MediaController.MediaPlayerControl
- classVideoView - -
-          Displays a video file.
-  -

- - - - - - - - - -
Methods in io.vov.vitamio.widget with parameters of type MediaController.MediaPlayerControl
- voidMediaController.setMediaPlayer(MediaController.MediaPlayerControl player) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/widget/class-use/MediaController.html b/doc/io/vov/vitamio/widget/class-use/MediaController.html deleted file mode 100644 index 21d9142..0000000 --- a/doc/io/vov/vitamio/widget/class-use/MediaController.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class io.vov.vitamio.widget.MediaController - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
io.vov.vitamio.widget.MediaController

-
- - - - - - - - - -
-Packages that use MediaController
io.vov.vitamio.widget  
-  -

- - - - - -
-Uses of MediaController in io.vov.vitamio.widget
-  -

- - - - - - - - - -
Methods in io.vov.vitamio.widget with parameters of type MediaController
- voidVideoView.setMediaController(MediaController controller) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/widget/class-use/VideoView.html b/doc/io/vov/vitamio/widget/class-use/VideoView.html deleted file mode 100644 index ca72635..0000000 --- a/doc/io/vov/vitamio/widget/class-use/VideoView.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class io.vov.vitamio.widget.VideoView - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
io.vov.vitamio.widget.VideoView

-
-No usage of io.vov.vitamio.widget.VideoView -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/widget/package-frame.html b/doc/io/vov/vitamio/widget/package-frame.html deleted file mode 100644 index 28c1020..0000000 --- a/doc/io/vov/vitamio/widget/package-frame.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - -io.vov.vitamio.widget - - - - - - - - - - - -io.vov.vitamio.widget - - - - -
-Interfaces  - -
-MediaController.MediaPlayerControl
- - - - - - -
-Classes  - -
-MediaController -
-VideoView
- - - - diff --git a/doc/io/vov/vitamio/widget/package-summary.html b/doc/io/vov/vitamio/widget/package-summary.html deleted file mode 100644 index dea6735..0000000 --- a/doc/io/vov/vitamio/widget/package-summary.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - -io.vov.vitamio.widget - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package io.vov.vitamio.widget -

- - - - - - - - - -
-Interface Summary
MediaController.MediaPlayerControl 
-  - -

- - - - - - - - - - - - - -
-Class Summary
MediaControllerA view containing controls for a MediaPlayer.
VideoViewDisplays a video file.
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/widget/package-tree.html b/doc/io/vov/vitamio/widget/package-tree.html deleted file mode 100644 index e944b2a..0000000 --- a/doc/io/vov/vitamio/widget/package-tree.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - -io.vov.vitamio.widget Class Hierarchy - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package io.vov.vitamio.widget -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/io/vov/vitamio/widget/package-use.html b/doc/io/vov/vitamio/widget/package-use.html deleted file mode 100644 index ac4b013..0000000 --- a/doc/io/vov/vitamio/widget/package-use.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Package io.vov.vitamio.widget - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
io.vov.vitamio.widget

-
- - - - - - - - - -
-Packages that use io.vov.vitamio.widget
io.vov.vitamio.widget  
-  -

- - - - - - - - - - - -
-Classes in io.vov.vitamio.widget used by io.vov.vitamio.widget
MediaController - -
-          A view containing controls for a MediaPlayer.
MediaController.MediaPlayerControl - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/vitamio.jar b/vitamio.jar deleted file mode 100644 index efc68ab..0000000 --- a/vitamio.jar +++ /dev/null