From 9bef35b5986b8e45b9dd1e395acc2322a85dfad2 Mon Sep 17 00:00:00 2001
From: Daniel Yu
To tell the system that your TV input service supports recording, follow +
To tell the system that your TV input service supports recording, set
+the android:canRecord attribute in your service metadata XML file
+to true:
+
+<tv-input xmlns:android="http://schemas.android.com/apk/res/android" + android:canRecord="true" + android:setupActivity="com.example.sampletvinput.SampleTvInputSetupActivity" /> ++ +
For more information on the service metadata file, see +Declare Your TV Input +Service in the Manifest. +
+ +Alternatively, you can indicate recording support in your code using these steps:
setCanRecord(true) before calling build() to
indicate your service supports recording.
TvInputInfo object with the system by calling
-TvInputService.updateTvInputInfo().TvInputManager.updateTvInputInfo().