android.media.tv.TvInputService#RecordingSession ( )源码实例Demo

下面列出了android.media.tv.TvInputService#RecordingSession ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: xipl   文件: TestTvInputService.java
@RequiresApi(api = Build.VERSION_CODES.N)
@Nullable
@Override
public TvInputService.RecordingSession onCreateRecordingSession(String inputId) {
    return new TestRecordingSession(this, inputId);
}
 
源代码2 项目: CumulusTV   文件: CumulusTvTifService.java
@RequiresApi(api = Build.VERSION_CODES.N)
@Nullable
@Override
public TvInputService.RecordingSession onCreateRecordingSession(String inputId) {
    return null;
}
 
@RequiresApi(api = Build.VERSION_CODES.N)
@Nullable
@Override
public TvInputService.RecordingSession onCreateRecordingSession(String inputId) {
    return new RichRecordingSession(this, inputId);
}
 
@RequiresApi(api = Build.VERSION_CODES.N)
@Nullable
@Override
public TvInputService.RecordingSession onCreateRecordingSession(String inputId) {
    return new TestRecordingSession(this, inputId);
}
 
 同类方法