Compartir a través de


TvInputService.Session.OnTimeShiftSetPlaybackParams(PlaybackParams) Method

Definition

Called when the application sets playback parameters containing the speed and audio mode.

[Android.Runtime.Register("onTimeShiftSetPlaybackParams", "(Landroid/media/PlaybackParams;)V", "GetOnTimeShiftSetPlaybackParams_Landroid_media_PlaybackParams_Handler", ApiSince=23)]
public virtual void OnTimeShiftSetPlaybackParams (Android.Media.PlaybackParams? params);
[<Android.Runtime.Register("onTimeShiftSetPlaybackParams", "(Landroid/media/PlaybackParams;)V", "GetOnTimeShiftSetPlaybackParams_Landroid_media_PlaybackParams_Handler", ApiSince=23)>]
abstract member OnTimeShiftSetPlaybackParams : Android.Media.PlaybackParams -> unit
override this.OnTimeShiftSetPlaybackParams : Android.Media.PlaybackParams -> unit

Parameters

params
PlaybackParams

The playback params.

Attributes

Remarks

Called when the application sets playback parameters containing the speed and audio mode.

Once the playback parameters are set, the implementation should honor the current settings until the next tune request. Pause/resume/seek request does not reset the parameters previously set.

Java documentation for android.media.tv.TvInputService.Session.onTimeShiftSetPlaybackParams(android.media.PlaybackParams).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to