Home | History | Annotate | Download | only in media

Lines Matching full:link

44  * this class can be found in {@link android.widget.VideoView}.
75 * after {@link #reset()} is called, it is in the <em>Idle</em> state; and after
76 * {@link #release()} is called, it is in the <em>End</em> state. Between these
80 * MediaPlayer object and the MediaPlayer object after {@link #reset()}
82 * as {@link #getCurrentPosition()},
83 * {@link #getDuration()}, {@link #getVideoHeight()},
84 * {@link #getVideoWidth()}, {@link #setAudioStreamType(int)},
85 * {@link #setLooping(boolean)},
86 * {@link #setVolume(float, float)}, {@link #pause()}, {@link #start()},
87 * {@link #stop()}, {@link #seekTo(int)}, {@link #prepare()} or
88 * {@link #prepareAsync()} in the <em>Idle</em> state for both cases. If any of these
92 * unchanged; but if these methods are called right after {@link #reset()},
97 * a MediaPlayer object is no longer being used, call {@link #release()} immediately
101 * failure to call {@link #release()} may cause subsequent instances of
124 * {@link #setOnErrorListener(android.media.MediaPlayer.OnErrorListener)}.
131 * {@link #reset()} can be called to restore the object to its <em>Idle</em>
137 * thrown to prevent programming errors such as calling {@link #prepare()},
138 * {@link #prepareAsync()}, or one of the overloaded <code>setDataSource
143 * {@link #setDataSource(FileDescriptor)}, or
144 * {@link #setDataSource(String)}, or
145 * {@link #setDataSource(Context, Uri)}, or
146 * {@link #setDataSource(FileDescriptor, long, long)} transfers a
163 * either a call to {@link #prepare()} (synchronous) which
165 * returns, or a call to {@link #prepareAsync()} (asynchronous) which
169 * until the preparation work completes. When the preparation completes or when {@link #prepare()} call returns,
172 * OnPreparedListener is registered beforehand via {@link
179 * thrown if {@link #prepare()} or {@link #prepareAsync()} is called in
186 * <li>To start the playback, {@link #start()} must be called. After
187 * {@link #start()} returns successfully, the MediaPlayer object is in the
188 * <em>Started</em> state. {@link #isPlaying()} can be called to test
194 * via {@link #setOnBufferingUpdateListener(OnBufferingUpdateListener)}.
197 * <li>Calling {@link #start()} has not effect
202 * can be adjusted. Playback can be paused via {@link #pause()}. When the call to
203 * {@link #pause()} returns, the MediaPlayer object enters the
207 * the state is updated in calls to {@link #isPlaying()}, and it can be
210 * <li>Calling {@link #start()} to resume playback for a paused
213 * {@link #start()} returns, the paused MediaPlayer object goes back to
215 * <li>Calling {@link #pause()} has no effect on
219 * <li>Calling {@link #stop()} stops playback and causes a
225 * until {@link #prepare()} or {@link #prepareAsync()} are called to set
227 * <li>Calling {@link #stop()} has no effect on a MediaPlayer
232 * {@link #seekTo(int)}.
234 * <li>Although the asynchronuous {@link #seekTo(int)}
240 * {@link #setOnSeekCompleteListener(OnSeekCompleteListener)}.</li>
242 * note that {@link #seekTo(int)} can also be called in the other states,
246 * can be retrieved with a call to {@link #getCurrentPosition()}, which
254 * {@link #setLooping(boolean)}, the MediaPlayer object shall remain in
259 * beforehand via {@link #setOnCompletionListener(OnCompletionListener)}.
263 * state, calling {@link #start()} can restart the playback from the
331 * <td>After {@link #release()}, the object is no longer available. </p></td></tr>
336 * <td>After {@link #reset()}, the object is like being just created.</p></td></tr>
430 * <p>One may need to declare a corresponding WAKE_LOCK permission {@link
441 // FIXME: add link to getMetadata(boolean, boolean)
449 // FIXME: add link to getMetadata(boolean, boolean)
457 // FIXME: add link to getMetadata(boolean, boolean)
465 // FIXME: add link to getMetadata(boolean, boolean)
493 * <p>When done with the MediaPlayer, you should call {@link #release()},
521 * player using {@link #invoke(Parcel, Parcel)}. The Parcel
544 * caller must use {@link #newRequest()} to get one.
578 * On success, {@link #prepare()} will already have been called and must not be called again.
579 * <p>When done with the MediaPlayer, you should call {@link #release()},
593 * On success, {@link #prepare()} will already have been called and must not be called again.
594 * <p>When done with the MediaPlayer, you should call {@link #release()},
629 * On success, {@link #prepare()} will already have been called and must not be called again.
630 * <p>When done with the MediaPlayer, you should call {@link #release()},
832 * set with {@link #setDisplay(SurfaceHolder)} and thus can use the
833 * high-level {@link #setScreenOnWhilePlaying(boolean)} feature.
837 * The parameter is a combination of {@link android.os.PowerManager} wake flags.
838 * Use of this method requires {@link android.Manifest.permission#WAKE_LOCK}
867 * method over {@link #setWakeMode} where possible, since it doesn't
905 * {@link #setOnVideoSizeChangedListener(OnVideoSizeChangedListener)}
916 * {@link #setOnVideoSizeChangedListener(OnVideoSizeChangedListener)}
1070 * suspended are {@link #reset()}, {@link #release()} and {@link #resume()}.
1093 * call to {@link #suspend()}.
1116 * Sets the audio stream type for this MediaPlayer. See {@link AudioManager}
1145 * {@link AudioManager#setStreamVolume(int, int, int)} which sets the volume of ALL streams of
1486 * <li>{@link #MEDIA_ERROR_UNKNOWN}
1487 * <li>{@link #MEDIA_ERROR_SERVER_DIED}
1555 * <li>{@link #MEDIA_INFO_UNKNOWN}
1556 * <li>{@link #MEDIA_INFO_VIDEO_TRACK_LAGGING}
1557 * <li>{@link #MEDIA_INFO_BAD_INTERLEAVING}
1558 * <li>{@link #MEDIA_INFO_NOT_SEEKABLE}
1559 * <li>{@link #MEDIA_INFO_METADATA_UPDATE}