Udostępnij za pośrednictwem


TvInputService.Session.NotifyVideoAvailable Method

Definition

Informs the application that the video is now available for watching.

[Android.Runtime.Register("notifyVideoAvailable", "()V", "GetNotifyVideoAvailableHandler")]
public virtual void NotifyVideoAvailable ();
[<Android.Runtime.Register("notifyVideoAvailable", "()V", "GetNotifyVideoAvailableHandler")>]
abstract member NotifyVideoAvailable : unit -> unit
override this.NotifyVideoAvailable : unit -> unit
Attributes

Remarks

Informs the application that the video is now available for watching. Video is blocked until this method is called.

The TV input service must call this method as soon as the content rendered onto its surface is ready for viewing. This method must be called each time #onTune is called.

Java documentation for android.media.tv.TvInputService.Session.notifyVideoAvailable().

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