Loading core/api/current.txt +2 −0 Original line number Diff line number Diff line Loading @@ -26785,6 +26785,7 @@ package android.media.tv.interactive { method public boolean onKeyUp(int, @NonNull android.view.KeyEvent); method public void onMediaViewSizeChanged(@Px int, @Px int); method public void onRecordingStarted(@NonNull String); method public void onRecordingStopped(@NonNull String); method public abstract void onRelease(); method public void onResetInteractiveApp(); method public abstract boolean onSetSurface(@Nullable android.view.Surface); Loading Loading @@ -26843,6 +26844,7 @@ package android.media.tv.interactive { method @Nullable public android.media.tv.interactive.TvInteractiveAppView.OnUnhandledInputEventListener getOnUnhandledInputEventListener(); method public void notifyError(@NonNull String, @NonNull android.os.Bundle); method public void notifyRecordingStarted(@NonNull String); method public void notifyRecordingStopped(@NonNull String); method public void onAttachedToWindow(); method public void onDetachedFromWindow(); method public void onLayout(boolean, int, int, int, int); media/java/android/media/tv/interactive/TvInteractiveAppService.java +6 −4 Original line number Diff line number Diff line Loading @@ -457,7 +457,9 @@ public abstract class TvInteractiveAppService extends Service { /** * Receives started recording's ID. * * @param recordingId The ID of the recording started * @param recordingId The ID of the recording started. The TV app should provide and * maintain this ID to identify the recording in the future. * @see #onRecordingStopped(String) */ public void onRecordingStarted(@NonNull String recordingId) { } Loading @@ -465,13 +467,13 @@ public abstract class TvInteractiveAppService extends Service { /** * Receives stopped recording's ID. * * @param recordingId The ID of the recording stopped * @hide * @param recordingId The ID of the recording stopped. This ID is created and maintained by * the TV app when the recording was started. * @see #onRecordingStarted(String) */ public void onRecordingStopped(@NonNull String recordingId) { } /** * Receives signing result. * @param signingId the ID to identify the request. It's the same as the corresponding ID in Loading media/java/android/media/tv/interactive/TvInteractiveAppView.java +1 −1 Original line number Diff line number Diff line Loading @@ -585,6 +585,7 @@ public class TvInteractiveAppView extends ViewGroup { * * @param recordingId The ID of the recording started. This ID is created and maintained by the * TV app and is used to identify the recording in the future. * @see TvInteractiveAppView#notifyRecordingStopped(String) */ public void notifyRecordingStarted(@NonNull String recordingId) { if (DEBUG) { Loading @@ -601,7 +602,6 @@ public class TvInteractiveAppView extends ViewGroup { * @param recordingId The ID of the recording stopped. This ID is created and maintained * by the TV app when a recording is started. * @see TvInteractiveAppView#notifyRecordingStarted(String) * @hide */ public void notifyRecordingStopped(@NonNull String recordingId) { if (DEBUG) { Loading Loading
core/api/current.txt +2 −0 Original line number Diff line number Diff line Loading @@ -26785,6 +26785,7 @@ package android.media.tv.interactive { method public boolean onKeyUp(int, @NonNull android.view.KeyEvent); method public void onMediaViewSizeChanged(@Px int, @Px int); method public void onRecordingStarted(@NonNull String); method public void onRecordingStopped(@NonNull String); method public abstract void onRelease(); method public void onResetInteractiveApp(); method public abstract boolean onSetSurface(@Nullable android.view.Surface); Loading Loading @@ -26843,6 +26844,7 @@ package android.media.tv.interactive { method @Nullable public android.media.tv.interactive.TvInteractiveAppView.OnUnhandledInputEventListener getOnUnhandledInputEventListener(); method public void notifyError(@NonNull String, @NonNull android.os.Bundle); method public void notifyRecordingStarted(@NonNull String); method public void notifyRecordingStopped(@NonNull String); method public void onAttachedToWindow(); method public void onDetachedFromWindow(); method public void onLayout(boolean, int, int, int, int);
media/java/android/media/tv/interactive/TvInteractiveAppService.java +6 −4 Original line number Diff line number Diff line Loading @@ -457,7 +457,9 @@ public abstract class TvInteractiveAppService extends Service { /** * Receives started recording's ID. * * @param recordingId The ID of the recording started * @param recordingId The ID of the recording started. The TV app should provide and * maintain this ID to identify the recording in the future. * @see #onRecordingStopped(String) */ public void onRecordingStarted(@NonNull String recordingId) { } Loading @@ -465,13 +467,13 @@ public abstract class TvInteractiveAppService extends Service { /** * Receives stopped recording's ID. * * @param recordingId The ID of the recording stopped * @hide * @param recordingId The ID of the recording stopped. This ID is created and maintained by * the TV app when the recording was started. * @see #onRecordingStarted(String) */ public void onRecordingStopped(@NonNull String recordingId) { } /** * Receives signing result. * @param signingId the ID to identify the request. It's the same as the corresponding ID in Loading
media/java/android/media/tv/interactive/TvInteractiveAppView.java +1 −1 Original line number Diff line number Diff line Loading @@ -585,6 +585,7 @@ public class TvInteractiveAppView extends ViewGroup { * * @param recordingId The ID of the recording started. This ID is created and maintained by the * TV app and is used to identify the recording in the future. * @see TvInteractiveAppView#notifyRecordingStopped(String) */ public void notifyRecordingStarted(@NonNull String recordingId) { if (DEBUG) { Loading @@ -601,7 +602,6 @@ public class TvInteractiveAppView extends ViewGroup { * @param recordingId The ID of the recording stopped. This ID is created and maintained * by the TV app when a recording is started. * @see TvInteractiveAppView#notifyRecordingStarted(String) * @hide */ public void notifyRecordingStopped(@NonNull String recordingId) { if (DEBUG) { Loading