TvInputService.Session.NotifyVideoUnavailable(VideoUnavailableReason) Method

Definition

Informs the application that the video became unavailable for some reason.

[Android.Runtime.Register("notifyVideoUnavailable", "(I)V", "GetNotifyVideoUnavailable_IHandler")]
public virtual void NotifyVideoUnavailable (Android.Media.TV.VideoUnavailableReason reason);
[<Android.Runtime.Register("notifyVideoUnavailable", "(I)V", "GetNotifyVideoUnavailable_IHandler")>]
abstract member NotifyVideoUnavailable : Android.Media.TV.VideoUnavailableReason -> unit
override this.NotifyVideoUnavailable : Android.Media.TV.VideoUnavailableReason -> unit

Parameters

reason
VideoUnavailableReason

The reason why the video became unavailable: <ul> <li>TvInputManager#VIDEO_UNAVAILABLE_REASON_UNKNOWN<li>TvInputManager#VIDEO_UNAVAILABLE_REASON_TUNING<li>TvInputManager#VIDEO_UNAVAILABLE_REASON_WEAK_SIGNAL<li>TvInputManager#VIDEO_UNAVAILABLE_REASON_BUFFERING<li>TvInputManager#VIDEO_UNAVAILABLE_REASON_AUDIO_ONLY</ul>

Attributes

Remarks

Informs the application that the video became unavailable for some reason. This is primarily used to signal the application to block the screen not to show any intermittent video artifacts.

Java documentation for android.media.tv.TvInputService.Session.notifyVideoUnavailable(int).

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