Java Code Examples for android.media.tv.TvInputService#RecordingSession

The following examples show how to use android.media.tv.TvInputService#RecordingSession . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TestTvInputService.java    From xipl with Apache License 2.0 4 votes vote down vote up
@RequiresApi(api = Build.VERSION_CODES.N)
@Nullable
@Override
public TvInputService.RecordingSession onCreateRecordingSession(String inputId) {
    return new TestRecordingSession(this, inputId);
}
 
Example 2
Source File: CumulusTvTifService.java    From CumulusTV with MIT License 4 votes vote down vote up
@RequiresApi(api = Build.VERSION_CODES.N)
@Nullable
@Override
public TvInputService.RecordingSession onCreateRecordingSession(String inputId) {
    return null;
}
 
Example 3
Source File: RichTvInputService.java    From androidtv-sample-inputs with Apache License 2.0 4 votes vote down vote up
@RequiresApi(api = Build.VERSION_CODES.N)
@Nullable
@Override
public TvInputService.RecordingSession onCreateRecordingSession(String inputId) {
    return new RichRecordingSession(this, inputId);
}
 
Example 4
Source File: TestTvInputService.java    From androidtv-sample-inputs with Apache License 2.0 4 votes vote down vote up
@RequiresApi(api = Build.VERSION_CODES.N)
@Nullable
@Override
public TvInputService.RecordingSession onCreateRecordingSession(String inputId) {
    return new TestRecordingSession(this, inputId);
}