TIF: enhance documentation for TvInputManager.getAvailableStreamConfigs()

Bug: 18283466
Change-Id: Ibb5d45c02a327e0b3e837ad3ec3603fa1623ff7b
This commit is contained in:
Wonsik Kim
2014-11-08 16:16:51 +09:00
parent b724314516
commit 90e733385d

View File

@@ -1012,6 +1012,12 @@ public final class TvInputManager {
/**
* Returns the TvStreamConfig list of the given TV input.
*
* If you are using {@link Hardware} object from {@link
* #acquireTvInputHardware}, you should get the list of available streams
* from {@link HardwareCallback#onStreamConfigChanged} method, not from
* here. This method is designed to be used with {@link #captureFrame} in
* capture scenarios specifically and not suitable for any other use.
*
* @param inputId the id of the TV input.
* @return List of {@link TvStreamConfig} which is available for capturing
* of the given TV input.