TvInputService.Session.NotifyAvailableSpeeds(Single[]) Method

Definition

Informs the app available speeds for time-shifting.

[Android.Runtime.Register("notifyAvailableSpeeds", "([F)V", "GetNotifyAvailableSpeeds_arrayFHandler", ApiSince=34)]
public virtual void NotifyAvailableSpeeds (float[] speeds);
[<Android.Runtime.Register("notifyAvailableSpeeds", "([F)V", "GetNotifyAvailableSpeeds_arrayFHandler", ApiSince=34)>]
abstract member NotifyAvailableSpeeds : single[] -> unit
override this.NotifyAvailableSpeeds : single[] -> unit

Parameters

speeds
Single[]

An ordered array of playback speeds, expressed as values relative to the normal playback speed (1.0), at which the current content can be played as a time-shifted broadcast. This is an empty array if the supported playback speeds are unknown or the video/broadcast is not in time shift mode. If currently in time shift mode, this array will normally include at least the values 1.0 (normal speed) and 0.0 (paused).

Attributes

Remarks

Informs the app available speeds for time-shifting.

This should be called when time-shifting is enabled.

Java documentation for android.media.tv.TvInputService.Session.notifyAvailableSpeeds(float[]).

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