FileDocCategorySizeDatePackage
ITvInputManager.javaAPI DocAndroid 5.1 API38721Sat Mar 14 05:48:12 GMT 2015android.media.tv

ITvInputManager

public interface ITvInputManager implements android.os.IInterface
Interface to the TV input manager service.
hide

Fields Summary
Constructors Summary
Methods Summary
public android.media.tv.ITvInputHardwareacquireTvInputHardware(int deviceId, android.media.tv.ITvInputHardwareCallback callback, android.media.tv.TvInputInfo info, int userId)

public voidaddBlockedRating(java.lang.String rating, int userId)

public booleancaptureFrame(java.lang.String inputId, android.view.Surface surface, android.media.tv.TvStreamConfig config, int userId)

public voidcreateOverlayView(android.os.IBinder sessionToken, android.os.IBinder windowToken, android.graphics.Rect frame, int userId)

public voidcreateSession(android.media.tv.ITvInputClient client, java.lang.String inputId, int seq, int userId)

public voiddispatchSurfaceChanged(android.os.IBinder sessionToken, int format, int width, int height, int userId)

public java.util.ListgetAvailableTvStreamConfigList(java.lang.String inputId, int userId)

public java.util.ListgetBlockedRatings(int userId)

public java.util.ListgetHardwareList()

public java.util.ListgetTvContentRatingSystemList(int userId)

public android.media.tv.TvInputInfogetTvInputInfo(java.lang.String inputId, int userId)

public java.util.ListgetTvInputList(int userId)

public intgetTvInputState(java.lang.String inputId, int userId)

public booleanisParentalControlsEnabled(int userId)

public booleanisRatingBlocked(java.lang.String rating, int userId)

public booleanisSingleSessionActive(int userId)

public voidregisterCallback(android.media.tv.ITvInputManagerCallback callback, int userId)

public voidrelayoutOverlayView(android.os.IBinder sessionToken, android.graphics.Rect frame, int userId)

public voidreleaseSession(android.os.IBinder sessionToken, int userId)

public voidreleaseTvInputHardware(int deviceId, android.media.tv.ITvInputHardware hardware, int userId)

public voidremoveBlockedRating(java.lang.String rating, int userId)

public voidremoveOverlayView(android.os.IBinder sessionToken, int userId)

public voidrequestUnblockContent(android.os.IBinder sessionToken, java.lang.String unblockedRating, int userId)

public voidselectTrack(android.os.IBinder sessionToken, int type, java.lang.String trackId, int userId)

public voidsendAppPrivateCommand(android.os.IBinder sessionToken, java.lang.String action, android.os.Bundle data, int userId)

public voidsetCaptionEnabled(android.os.IBinder sessionToken, boolean enabled, int userId)

public voidsetMainSession(android.os.IBinder sessionToken, int userId)

public voidsetParentalControlsEnabled(boolean enabled, int userId)

public voidsetSurface(android.os.IBinder sessionToken, android.view.Surface surface, int userId)

public voidsetVolume(android.os.IBinder sessionToken, float volume, int userId)

public voidtune(android.os.IBinder sessionToken, android.net.Uri channelUri, android.os.Bundle params, int userId)

public voidunregisterCallback(android.media.tv.ITvInputManagerCallback callback, int userId)