TvView.TvInputCallback.OnVideoUnavailable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This is called when the video is not available, so the TV input stops the playback.
[Android.Runtime.Register("onVideoUnavailable", "(Ljava/lang/String;I)V", "GetOnVideoUnavailable_Ljava_lang_String_IHandler")]
public virtual void OnVideoUnavailable (string? inputId, Android.Media.TV.VideoUnavailableReason reason);
[<Android.Runtime.Register("onVideoUnavailable", "(Ljava/lang/String;I)V", "GetOnVideoUnavailable_Ljava_lang_String_IHandler")>]
abstract member OnVideoUnavailable : string * Android.Media.TV.VideoUnavailableReason -> unit
override this.OnVideoUnavailable : string * Android.Media.TV.VideoUnavailableReason -> unit
Parameters
- inputId
- String
The ID of the TV input bound to this view.
- reason
- VideoUnavailableReason
The reason why the 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
This is called when the video is not available, so the TV input stops the playback.
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.