TvView.TvInputCallback.OnAvailableSpeeds(String, Single[]) Method

Definition

This is called when time-shifting is enabled to inform the available speeds.

[Android.Runtime.Register("onAvailableSpeeds", "(Ljava/lang/String;[F)V", "GetOnAvailableSpeeds_Ljava_lang_String_arrayFHandler", ApiSince=34)]
public virtual void OnAvailableSpeeds (string inputId, float[] speeds);
[<Android.Runtime.Register("onAvailableSpeeds", "(Ljava/lang/String;[F)V", "GetOnAvailableSpeeds_Ljava_lang_String_arrayFHandler", ApiSince=34)>]
abstract member OnAvailableSpeeds : string * single[] -> unit
override this.OnAvailableSpeeds : string * single[] -> unit

Parameters

inputId
String

The ID of the TV input bound to this view.

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

This is called when time-shifting is enabled to inform the available speeds.

Java documentation for android.media.tv.TvView.TvInputCallback.onAvailableSpeeds(java.lang.String, 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