Unhide requestStartRecording APIs
Bug: 252888452 Test: atest Change-Id: I8a9017a0327f71080180cd7ea5cacb1e6c36a4f6
This commit is contained in:
@@ -26543,6 +26543,7 @@ package android.media.tv.interactive {
|
||||
method @CallSuper public void requestCurrentChannelUri();
|
||||
method @CallSuper public void requestCurrentTvInputId();
|
||||
method @CallSuper public void requestSigning(@NonNull String, @NonNull String, @NonNull String, @NonNull byte[]);
|
||||
method @CallSuper public void requestStartRecording(@Nullable android.net.Uri);
|
||||
method @CallSuper public void requestStreamVolume();
|
||||
method @CallSuper public void requestTrackInfoList();
|
||||
method @CallSuper public void sendPlaybackCommandRequest(@NonNull String, @Nullable android.os.Bundle);
|
||||
@@ -26615,6 +26616,7 @@ package android.media.tv.interactive {
|
||||
method public void onRequestCurrentChannelUri(@NonNull String);
|
||||
method public void onRequestCurrentTvInputId(@NonNull String);
|
||||
method public void onRequestSigning(@NonNull String, @NonNull String, @NonNull String, @NonNull String, @NonNull byte[]);
|
||||
method public void onRequestStartRecording(@NonNull String, @Nullable android.net.Uri);
|
||||
method public void onRequestStreamVolume(@NonNull String);
|
||||
method public void onRequestTrackInfoList(@NonNull String);
|
||||
method public void onSetVideoBounds(@NonNull String, @NonNull android.graphics.Rect);
|
||||
|
||||
@@ -914,7 +914,15 @@ public abstract class TvInteractiveAppService extends Service {
|
||||
/**
|
||||
* Requests starting of recording
|
||||
*
|
||||
* @hide
|
||||
* <p> This is used to request the active {@link android.media.tv.TvRecordingClient} to
|
||||
* call {@link android.media.tv.TvRecordingClient#startRecording(Uri)} with the provided
|
||||
* {@code programUri}.
|
||||
* A non-null {@code programUri} implies the started recording should be of that specific
|
||||
* program, whereas null {@code programUri} does not impose such a requirement and the
|
||||
* recording can span across multiple TV programs.
|
||||
*
|
||||
* @param programUri The URI for the TV program to record.
|
||||
* @see android.media.tv.TvRecordingClient#startRecording(Uri)
|
||||
*/
|
||||
@CallSuper
|
||||
public void requestStartRecording(@Nullable Uri programUri) {
|
||||
|
||||
@@ -859,10 +859,9 @@ public class TvInteractiveAppView extends ViewGroup {
|
||||
/**
|
||||
* This is called when {@link TvInteractiveAppService.Session#requestStartRecording(Uri)}
|
||||
* is called.
|
||||
*
|
||||
* @param iAppServiceId The ID of the TV interactive app service bound to this view.
|
||||
* @param programUri The program URI to record
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public void onRequestStartRecording(
|
||||
@NonNull String iAppServiceId,
|
||||
|
||||
Reference in New Issue
Block a user