TvInputService.HardwareSession.OnHardwareVideoUnavailable Method

Definition

Called when the underlying hardware TV input session calls TvInputService.Session#notifyVideoUnavailable(int).

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

Parameters

reason
VideoUnavailableReason

The reason that the hardware TV input stopped the playback: <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

Called when the underlying hardware TV input session calls TvInputService.Session#notifyVideoUnavailable(int).

Java documentation for android.media.tv.TvInputService.HardwareSession.onHardwareVideoUnavailable(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