语言

TvInteractiveAppView.NotifyTimeShiftStatusChanged 方法

定义

在更改时间班次状态时通知相应的 TvInteractiveAppService 。

[Android.Runtime.Register("notifyTimeShiftStatusChanged", "(Ljava/lang/String;I)V", "GetNotifyTimeShiftStatusChanged_Ljava_lang_String_IHandler", ApiSince=34)]
public virtual void NotifyTimeShiftStatusChanged(string inputId, Android.Media.TV.TimeShiftStatus status);
[<Android.Runtime.Register("notifyTimeShiftStatusChanged", "(Ljava/lang/String;I)V", "GetNotifyTimeShiftStatusChanged_Ljava_lang_String_IHandler", ApiSince=34)>]
abstract member NotifyTimeShiftStatusChanged : string * Android.Media.TV.TimeShiftStatus -> unit
override this.NotifyTimeShiftStatusChanged : string * Android.Media.TV.TimeShiftStatus -> unit

参数

inputId
String

时间班次状态已更改的输入的 ID。

status
TimeShiftStatus

输入已更改为的状态。 应为下列项之一。 <ul>li li<>TvInputManager#TIME_SHIFT_STATUS_UNKNOWNli<>TvInputManager#TIME_SHIFT_STATUS_UNSUPPORTEDli<>TvInputManager#TIME_SHIFT_STATUS_UNAVAILABLE<>TvInputManager#TIME_SHIFT_STATUS_AVAILABLE/ul<>

特性

注解

在更改时间班次状态时通知相应的 TvInteractiveAppService 。

Java文档android.media.tv.interactive.TvInteractiveAppView.notifyTimeShiftStatusChanged(java.lang.String, int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于