tv

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TransactionITvInputClientOnSessionCreated                  = binder.FirstCallTransaction + 0
	TransactionITvInputClientOnSessionReleased                 = binder.FirstCallTransaction + 1
	TransactionITvInputClientOnSessionEvent                    = binder.FirstCallTransaction + 2
	TransactionITvInputClientOnChannelRetuned                  = binder.FirstCallTransaction + 3
	TransactionITvInputClientOnAudioPresentationsChanged       = binder.FirstCallTransaction + 4
	TransactionITvInputClientOnAudioPresentationSelected       = binder.FirstCallTransaction + 5
	TransactionITvInputClientOnTracksChanged                   = binder.FirstCallTransaction + 6
	TransactionITvInputClientOnTrackSelected                   = binder.FirstCallTransaction + 7
	TransactionITvInputClientOnVideoAvailable                  = binder.FirstCallTransaction + 8
	TransactionITvInputClientOnVideoUnavailable                = binder.FirstCallTransaction + 9
	TransactionITvInputClientOnVideoFreezeUpdated              = binder.FirstCallTransaction + 10
	TransactionITvInputClientOnContentAllowed                  = binder.FirstCallTransaction + 11
	TransactionITvInputClientOnContentBlocked                  = binder.FirstCallTransaction + 12
	TransactionITvInputClientOnLayoutSurface                   = binder.FirstCallTransaction + 13
	TransactionITvInputClientOnTimeShiftStatusChanged          = binder.FirstCallTransaction + 14
	TransactionITvInputClientOnTimeShiftStartPositionChanged   = binder.FirstCallTransaction + 15
	TransactionITvInputClientOnTimeShiftCurrentPositionChanged = binder.FirstCallTransaction + 16
	TransactionITvInputClientOnAitInfoUpdated                  = binder.FirstCallTransaction + 17
	TransactionITvInputClientOnSignalStrength                  = binder.FirstCallTransaction + 18
	TransactionITvInputClientOnCueingMessageAvailability       = binder.FirstCallTransaction + 19
	TransactionITvInputClientOnTimeShiftMode                   = binder.FirstCallTransaction + 20
	TransactionITvInputClientOnAvailableSpeeds                 = binder.FirstCallTransaction + 21
	TransactionITvInputClientOnTvMessage                       = binder.FirstCallTransaction + 22
	TransactionITvInputClientOnTuned                           = binder.FirstCallTransaction + 23
	TransactionITvInputClientOnRecordingStopped                = binder.FirstCallTransaction + 24
	TransactionITvInputClientOnError                           = binder.FirstCallTransaction + 25
	TransactionITvInputClientOnBroadcastInfoResponse           = binder.FirstCallTransaction + 26
	TransactionITvInputClientOnAdResponse                      = binder.FirstCallTransaction + 27
	TransactionITvInputClientOnAdBufferConsumed                = binder.FirstCallTransaction + 28
	TransactionITvInputClientOnTvInputSessionData              = binder.FirstCallTransaction + 29
)
View Source
const (
	MethodITvInputClientOnSessionCreated                  = "onSessionCreated"
	MethodITvInputClientOnSessionReleased                 = "onSessionReleased"
	MethodITvInputClientOnSessionEvent                    = "onSessionEvent"
	MethodITvInputClientOnChannelRetuned                  = "onChannelRetuned"
	MethodITvInputClientOnAudioPresentationsChanged       = "onAudioPresentationsChanged"
	MethodITvInputClientOnAudioPresentationSelected       = "onAudioPresentationSelected"
	MethodITvInputClientOnTracksChanged                   = "onTracksChanged"
	MethodITvInputClientOnTrackSelected                   = "onTrackSelected"
	MethodITvInputClientOnVideoAvailable                  = "onVideoAvailable"
	MethodITvInputClientOnVideoUnavailable                = "onVideoUnavailable"
	MethodITvInputClientOnVideoFreezeUpdated              = "onVideoFreezeUpdated"
	MethodITvInputClientOnContentAllowed                  = "onContentAllowed"
	MethodITvInputClientOnContentBlocked                  = "onContentBlocked"
	MethodITvInputClientOnLayoutSurface                   = "onLayoutSurface"
	MethodITvInputClientOnTimeShiftStatusChanged          = "onTimeShiftStatusChanged"
	MethodITvInputClientOnTimeShiftStartPositionChanged   = "onTimeShiftStartPositionChanged"
	MethodITvInputClientOnTimeShiftCurrentPositionChanged = "onTimeShiftCurrentPositionChanged"
	MethodITvInputClientOnAitInfoUpdated                  = "onAitInfoUpdated"
	MethodITvInputClientOnSignalStrength                  = "onSignalStrength"
	MethodITvInputClientOnCueingMessageAvailability       = "onCueingMessageAvailability"
	MethodITvInputClientOnTimeShiftMode                   = "onTimeShiftMode"
	MethodITvInputClientOnAvailableSpeeds                 = "onAvailableSpeeds"
	MethodITvInputClientOnTvMessage                       = "onTvMessage"
	MethodITvInputClientOnTuned                           = "onTuned"
	MethodITvInputClientOnRecordingStopped                = "onRecordingStopped"
	MethodITvInputClientOnError                           = "onError"
	MethodITvInputClientOnBroadcastInfoResponse           = "onBroadcastInfoResponse"
	MethodITvInputClientOnAdResponse                      = "onAdResponse"
	MethodITvInputClientOnAdBufferConsumed                = "onAdBufferConsumed"
	MethodITvInputClientOnTvInputSessionData              = "onTvInputSessionData"
)
View Source
const (
	TransactionITvInputHardwareSetSurface        = binder.FirstCallTransaction + 0
	TransactionITvInputHardwareSetStreamVolume   = binder.FirstCallTransaction + 1
	TransactionITvInputHardwareOverrideAudioSink = binder.FirstCallTransaction + 2
)
View Source
const (
	MethodITvInputHardwareSetSurface        = "setSurface"
	MethodITvInputHardwareSetStreamVolume   = "setStreamVolume"
	MethodITvInputHardwareOverrideAudioSink = "overrideAudioSink"
)
View Source
const (
	TransactionITvInputHardwareCallbackOnReleased            = binder.FirstCallTransaction + 0
	TransactionITvInputHardwareCallbackOnStreamConfigChanged = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodITvInputHardwareCallbackOnReleased            = "onReleased"
	MethodITvInputHardwareCallbackOnStreamConfigChanged = "onStreamConfigChanged"
)
View Source
const (
	TransactionITvInputManagerGetTvInputList                       = binder.FirstCallTransaction + 0
	TransactionITvInputManagerGetTvInputInfo                       = binder.FirstCallTransaction + 1
	TransactionITvInputManagerUpdateTvInputInfo                    = binder.FirstCallTransaction + 2
	TransactionITvInputManagerGetTvInputState                      = binder.FirstCallTransaction + 3
	TransactionITvInputManagerGetAvailableExtensionInterfaceNames  = binder.FirstCallTransaction + 4
	TransactionITvInputManagerGetExtensionInterface                = binder.FirstCallTransaction + 5
	TransactionITvInputManagerGetTvContentRatingSystemList         = binder.FirstCallTransaction + 6
	TransactionITvInputManagerRegisterCallback                     = binder.FirstCallTransaction + 7
	TransactionITvInputManagerUnregisterCallback                   = binder.FirstCallTransaction + 8
	TransactionITvInputManagerIsParentalControlsEnabled            = binder.FirstCallTransaction + 9
	TransactionITvInputManagerSetParentalControlsEnabled           = binder.FirstCallTransaction + 10
	TransactionITvInputManagerIsRatingBlocked                      = binder.FirstCallTransaction + 11
	TransactionITvInputManagerGetBlockedRatings                    = binder.FirstCallTransaction + 12
	TransactionITvInputManagerAddBlockedRating                     = binder.FirstCallTransaction + 13
	TransactionITvInputManagerRemoveBlockedRating                  = binder.FirstCallTransaction + 14
	TransactionITvInputManagerCreateSession                        = binder.FirstCallTransaction + 15
	TransactionITvInputManagerReleaseSession                       = binder.FirstCallTransaction + 16
	TransactionITvInputManagerGetClientPid                         = binder.FirstCallTransaction + 17
	TransactionITvInputManagerGetClientPriority                    = binder.FirstCallTransaction + 18
	TransactionITvInputManagerSetMainSession                       = binder.FirstCallTransaction + 19
	TransactionITvInputManagerSetSurface                           = binder.FirstCallTransaction + 20
	TransactionITvInputManagerDispatchSurfaceChanged               = binder.FirstCallTransaction + 21
	TransactionITvInputManagerSetVolume                            = binder.FirstCallTransaction + 22
	TransactionITvInputManagerTune                                 = binder.FirstCallTransaction + 23
	TransactionITvInputManagerSetCaptionEnabled                    = binder.FirstCallTransaction + 24
	TransactionITvInputManagerSelectTrack                          = binder.FirstCallTransaction + 25
	TransactionITvInputManagerSelectAudioPresentation              = binder.FirstCallTransaction + 26
	TransactionITvInputManagerSetInteractiveAppNotificationEnabled = binder.FirstCallTransaction + 27
	TransactionITvInputManagerSendAppPrivateCommand                = binder.FirstCallTransaction + 28
	TransactionITvInputManagerCreateOverlayView                    = binder.FirstCallTransaction + 29
	TransactionITvInputManagerRelayoutOverlayView                  = binder.FirstCallTransaction + 30
	TransactionITvInputManagerRemoveOverlayView                    = binder.FirstCallTransaction + 31
	TransactionITvInputManagerUnblockContent                       = binder.FirstCallTransaction + 32
	TransactionITvInputManagerTimeShiftPlay                        = binder.FirstCallTransaction + 33
	TransactionITvInputManagerTimeShiftPause                       = binder.FirstCallTransaction + 34
	TransactionITvInputManagerTimeShiftResume                      = binder.FirstCallTransaction + 35
	TransactionITvInputManagerTimeShiftSeekTo                      = binder.FirstCallTransaction + 36
	TransactionITvInputManagerTimeShiftSetPlaybackParams           = binder.FirstCallTransaction + 37
	TransactionITvInputManagerTimeShiftSetMode                     = binder.FirstCallTransaction + 38
	TransactionITvInputManagerTimeShiftEnablePositionTracking      = binder.FirstCallTransaction + 39
	TransactionITvInputManagerGetCurrentTunedInfos                 = binder.FirstCallTransaction + 40
	TransactionITvInputManagerStartRecording                       = binder.FirstCallTransaction + 41
	TransactionITvInputManagerStopRecording                        = binder.FirstCallTransaction + 42
	TransactionITvInputManagerPauseRecording                       = binder.FirstCallTransaction + 43
	TransactionITvInputManagerResumeRecording                      = binder.FirstCallTransaction + 44
	TransactionITvInputManagerResumePlayback                       = binder.FirstCallTransaction + 45
	TransactionITvInputManagerStopPlayback                         = binder.FirstCallTransaction + 46
	TransactionITvInputManagerRequestBroadcastInfo                 = binder.FirstCallTransaction + 47
	TransactionITvInputManagerRemoveBroadcastInfo                  = binder.FirstCallTransaction + 48
	TransactionITvInputManagerRequestAd                            = binder.FirstCallTransaction + 49
	TransactionITvInputManagerNotifyAdBufferReady                  = binder.FirstCallTransaction + 50
	TransactionITvInputManagerNotifyTvMessage                      = binder.FirstCallTransaction + 51
	TransactionITvInputManagerSetTvMessageEnabled                  = binder.FirstCallTransaction + 52
	TransactionITvInputManagerGetHardwareList                      = binder.FirstCallTransaction + 53
	TransactionITvInputManagerAcquireTvInputHardware               = binder.FirstCallTransaction + 54
	TransactionITvInputManagerReleaseTvInputHardware               = binder.FirstCallTransaction + 55
	TransactionITvInputManagerGetAvailableTvStreamConfigList       = binder.FirstCallTransaction + 56
	TransactionITvInputManagerCaptureFrame                         = binder.FirstCallTransaction + 57
	TransactionITvInputManagerIsSingleSessionActive                = binder.FirstCallTransaction + 58
	TransactionITvInputManagerGetDvbDeviceList                     = binder.FirstCallTransaction + 59
	TransactionITvInputManagerOpenDvbDevice                        = binder.FirstCallTransaction + 60
	TransactionITvInputManagerSendTvInputNotifyIntent              = binder.FirstCallTransaction + 61
	TransactionITvInputManagerRequestChannelBrowsable              = binder.FirstCallTransaction + 62
	TransactionITvInputManagerAddHardwareDevice                    = binder.FirstCallTransaction + 63
	TransactionITvInputManagerRemoveHardwareDevice                 = binder.FirstCallTransaction + 64
	TransactionITvInputManagerSetVideoFrozen                       = binder.FirstCallTransaction + 65
	TransactionITvInputManagerNotifyTvAdSessionData                = binder.FirstCallTransaction + 66
)
View Source
const (
	MethodITvInputManagerGetTvInputList                       = "getTvInputList"
	MethodITvInputManagerGetTvInputInfo                       = "getTvInputInfo"
	MethodITvInputManagerUpdateTvInputInfo                    = "updateTvInputInfo"
	MethodITvInputManagerGetTvInputState                      = "getTvInputState"
	MethodITvInputManagerGetAvailableExtensionInterfaceNames  = "getAvailableExtensionInterfaceNames"
	MethodITvInputManagerGetExtensionInterface                = "getExtensionInterface"
	MethodITvInputManagerGetTvContentRatingSystemList         = "getTvContentRatingSystemList"
	MethodITvInputManagerRegisterCallback                     = "registerCallback"
	MethodITvInputManagerUnregisterCallback                   = "unregisterCallback"
	MethodITvInputManagerIsParentalControlsEnabled            = "isParentalControlsEnabled"
	MethodITvInputManagerSetParentalControlsEnabled           = "setParentalControlsEnabled"
	MethodITvInputManagerIsRatingBlocked                      = "isRatingBlocked"
	MethodITvInputManagerGetBlockedRatings                    = "getBlockedRatings"
	MethodITvInputManagerAddBlockedRating                     = "addBlockedRating"
	MethodITvInputManagerRemoveBlockedRating                  = "removeBlockedRating"
	MethodITvInputManagerCreateSession                        = "createSession"
	MethodITvInputManagerReleaseSession                       = "releaseSession"
	MethodITvInputManagerGetClientPid                         = "getClientPid"
	MethodITvInputManagerGetClientPriority                    = "getClientPriority"
	MethodITvInputManagerSetMainSession                       = "setMainSession"
	MethodITvInputManagerSetSurface                           = "setSurface"
	MethodITvInputManagerDispatchSurfaceChanged               = "dispatchSurfaceChanged"
	MethodITvInputManagerSetVolume                            = "setVolume"
	MethodITvInputManagerTune                                 = "tune"
	MethodITvInputManagerSetCaptionEnabled                    = "setCaptionEnabled"
	MethodITvInputManagerSelectTrack                          = "selectTrack"
	MethodITvInputManagerSelectAudioPresentation              = "selectAudioPresentation"
	MethodITvInputManagerSetInteractiveAppNotificationEnabled = "setInteractiveAppNotificationEnabled"
	MethodITvInputManagerSendAppPrivateCommand                = "sendAppPrivateCommand"
	MethodITvInputManagerCreateOverlayView                    = "createOverlayView"
	MethodITvInputManagerRelayoutOverlayView                  = "relayoutOverlayView"
	MethodITvInputManagerRemoveOverlayView                    = "removeOverlayView"
	MethodITvInputManagerUnblockContent                       = "unblockContent"
	MethodITvInputManagerTimeShiftPlay                        = "timeShiftPlay"
	MethodITvInputManagerTimeShiftPause                       = "timeShiftPause"
	MethodITvInputManagerTimeShiftResume                      = "timeShiftResume"
	MethodITvInputManagerTimeShiftSeekTo                      = "timeShiftSeekTo"
	MethodITvInputManagerTimeShiftSetPlaybackParams           = "timeShiftSetPlaybackParams"
	MethodITvInputManagerTimeShiftSetMode                     = "timeShiftSetMode"
	MethodITvInputManagerTimeShiftEnablePositionTracking      = "timeShiftEnablePositionTracking"
	MethodITvInputManagerGetCurrentTunedInfos                 = "getCurrentTunedInfos"
	MethodITvInputManagerStartRecording                       = "startRecording"
	MethodITvInputManagerStopRecording                        = "stopRecording"
	MethodITvInputManagerPauseRecording                       = "pauseRecording"
	MethodITvInputManagerResumeRecording                      = "resumeRecording"
	MethodITvInputManagerResumePlayback                       = "resumePlayback"
	MethodITvInputManagerStopPlayback                         = "stopPlayback"
	MethodITvInputManagerRequestBroadcastInfo                 = "requestBroadcastInfo"
	MethodITvInputManagerRemoveBroadcastInfo                  = "removeBroadcastInfo"
	MethodITvInputManagerRequestAd                            = "requestAd"
	MethodITvInputManagerNotifyAdBufferReady                  = "notifyAdBufferReady"
	MethodITvInputManagerNotifyTvMessage                      = "notifyTvMessage"
	MethodITvInputManagerSetTvMessageEnabled                  = "setTvMessageEnabled"
	MethodITvInputManagerGetHardwareList                      = "getHardwareList"
	MethodITvInputManagerAcquireTvInputHardware               = "acquireTvInputHardware"
	MethodITvInputManagerReleaseTvInputHardware               = "releaseTvInputHardware"
	MethodITvInputManagerGetAvailableTvStreamConfigList       = "getAvailableTvStreamConfigList"
	MethodITvInputManagerCaptureFrame                         = "captureFrame"
	MethodITvInputManagerIsSingleSessionActive                = "isSingleSessionActive"
	MethodITvInputManagerGetDvbDeviceList                     = "getDvbDeviceList"
	MethodITvInputManagerOpenDvbDevice                        = "openDvbDevice"
	MethodITvInputManagerSendTvInputNotifyIntent              = "sendTvInputNotifyIntent"
	MethodITvInputManagerRequestChannelBrowsable              = "requestChannelBrowsable"
	MethodITvInputManagerAddHardwareDevice                    = "addHardwareDevice"
	MethodITvInputManagerRemoveHardwareDevice                 = "removeHardwareDevice"
	MethodITvInputManagerSetVideoFrozen                       = "setVideoFrozen"
	MethodITvInputManagerNotifyTvAdSessionData                = "notifyTvAdSessionData"
)
View Source
const (
	TransactionITvInputManagerCallbackOnInputAdded               = binder.FirstCallTransaction + 0
	TransactionITvInputManagerCallbackOnInputRemoved             = binder.FirstCallTransaction + 1
	TransactionITvInputManagerCallbackOnInputUpdated             = binder.FirstCallTransaction + 2
	TransactionITvInputManagerCallbackOnInputStateChanged        = binder.FirstCallTransaction + 3
	TransactionITvInputManagerCallbackOnTvInputInfoUpdated       = binder.FirstCallTransaction + 4
	TransactionITvInputManagerCallbackOnCurrentTunedInfosUpdated = binder.FirstCallTransaction + 5
)
View Source
const (
	MethodITvInputManagerCallbackOnInputAdded               = "onInputAdded"
	MethodITvInputManagerCallbackOnInputRemoved             = "onInputRemoved"
	MethodITvInputManagerCallbackOnInputUpdated             = "onInputUpdated"
	MethodITvInputManagerCallbackOnInputStateChanged        = "onInputStateChanged"
	MethodITvInputManagerCallbackOnTvInputInfoUpdated       = "onTvInputInfoUpdated"
	MethodITvInputManagerCallbackOnCurrentTunedInfosUpdated = "onCurrentTunedInfosUpdated"
)
View Source
const (
	TransactionITvInputServiceRegisterCallback                    = binder.FirstCallTransaction + 0
	TransactionITvInputServiceUnregisterCallback                  = binder.FirstCallTransaction + 1
	TransactionITvInputServiceCreateSession                       = binder.FirstCallTransaction + 2
	TransactionITvInputServiceCreateRecordingSession              = binder.FirstCallTransaction + 3
	TransactionITvInputServiceGetAvailableExtensionInterfaceNames = binder.FirstCallTransaction + 4
	TransactionITvInputServiceGetExtensionInterface               = binder.FirstCallTransaction + 5
	TransactionITvInputServiceGetExtensionInterfacePermission     = binder.FirstCallTransaction + 6
	TransactionITvInputServiceNotifyHardwareAdded                 = binder.FirstCallTransaction + 7
	TransactionITvInputServiceNotifyHardwareRemoved               = binder.FirstCallTransaction + 8
	TransactionITvInputServiceNotifyHdmiDeviceAdded               = binder.FirstCallTransaction + 9
	TransactionITvInputServiceNotifyHdmiDeviceRemoved             = binder.FirstCallTransaction + 10
	TransactionITvInputServiceNotifyHdmiDeviceUpdated             = binder.FirstCallTransaction + 11
)
View Source
const (
	MethodITvInputServiceRegisterCallback                    = "registerCallback"
	MethodITvInputServiceUnregisterCallback                  = "unregisterCallback"
	MethodITvInputServiceCreateSession                       = "createSession"
	MethodITvInputServiceCreateRecordingSession              = "createRecordingSession"
	MethodITvInputServiceGetAvailableExtensionInterfaceNames = "getAvailableExtensionInterfaceNames"
	MethodITvInputServiceGetExtensionInterface               = "getExtensionInterface"
	MethodITvInputServiceGetExtensionInterfacePermission     = "getExtensionInterfacePermission"
	MethodITvInputServiceNotifyHardwareAdded                 = "notifyHardwareAdded"
	MethodITvInputServiceNotifyHardwareRemoved               = "notifyHardwareRemoved"
	MethodITvInputServiceNotifyHdmiDeviceAdded               = "notifyHdmiDeviceAdded"
	MethodITvInputServiceNotifyHdmiDeviceRemoved             = "notifyHdmiDeviceRemoved"
	MethodITvInputServiceNotifyHdmiDeviceUpdated             = "notifyHdmiDeviceUpdated"
)
View Source
const (
	TransactionITvInputServiceCallbackAddHardwareInput    = binder.FirstCallTransaction + 0
	TransactionITvInputServiceCallbackAddHdmiInput        = binder.FirstCallTransaction + 1
	TransactionITvInputServiceCallbackRemoveHardwareInput = binder.FirstCallTransaction + 2
)
View Source
const (
	MethodITvInputServiceCallbackAddHardwareInput    = "addHardwareInput"
	MethodITvInputServiceCallbackAddHdmiInput        = "addHdmiInput"
	MethodITvInputServiceCallbackRemoveHardwareInput = "removeHardwareInput"
)
View Source
const (
	TransactionITvInputSessionRelease                              = binder.FirstCallTransaction + 0
	TransactionITvInputSessionSetMain                              = binder.FirstCallTransaction + 1
	TransactionITvInputSessionSetSurface                           = binder.FirstCallTransaction + 2
	TransactionITvInputSessionDispatchSurfaceChanged               = binder.FirstCallTransaction + 3
	TransactionITvInputSessionSetVolume                            = binder.FirstCallTransaction + 4
	TransactionITvInputSessionTune                                 = binder.FirstCallTransaction + 5
	TransactionITvInputSessionSetCaptionEnabled                    = binder.FirstCallTransaction + 6
	TransactionITvInputSessionSelectAudioPresentation              = binder.FirstCallTransaction + 7
	TransactionITvInputSessionSelectTrack                          = binder.FirstCallTransaction + 8
	TransactionITvInputSessionSetInteractiveAppNotificationEnabled = binder.FirstCallTransaction + 9
	TransactionITvInputSessionAppPrivateCommand                    = binder.FirstCallTransaction + 10
	TransactionITvInputSessionCreateOverlayView                    = binder.FirstCallTransaction + 11
	TransactionITvInputSessionRelayoutOverlayView                  = binder.FirstCallTransaction + 12
	TransactionITvInputSessionRemoveOverlayView                    = binder.FirstCallTransaction + 13
	TransactionITvInputSessionUnblockContent                       = binder.FirstCallTransaction + 14
	TransactionITvInputSessionTimeShiftPlay                        = binder.FirstCallTransaction + 15
	TransactionITvInputSessionTimeShiftPause                       = binder.FirstCallTransaction + 16
	TransactionITvInputSessionTimeShiftResume                      = binder.FirstCallTransaction + 17
	TransactionITvInputSessionTimeShiftSeekTo                      = binder.FirstCallTransaction + 18
	TransactionITvInputSessionTimeShiftSetPlaybackParams           = binder.FirstCallTransaction + 19
	TransactionITvInputSessionTimeShiftSetMode                     = binder.FirstCallTransaction + 20
	TransactionITvInputSessionTimeShiftEnablePositionTracking      = binder.FirstCallTransaction + 21
	TransactionITvInputSessionResumePlayback                       = binder.FirstCallTransaction + 22
	TransactionITvInputSessionStopPlayback                         = binder.FirstCallTransaction + 23
	TransactionITvInputSessionStartRecording                       = binder.FirstCallTransaction + 24
	TransactionITvInputSessionStopRecording                        = binder.FirstCallTransaction + 25
	TransactionITvInputSessionPauseRecording                       = binder.FirstCallTransaction + 26
	TransactionITvInputSessionResumeRecording                      = binder.FirstCallTransaction + 27
	TransactionITvInputSessionRequestBroadcastInfo                 = binder.FirstCallTransaction + 28
	TransactionITvInputSessionRemoveBroadcastInfo                  = binder.FirstCallTransaction + 29
	TransactionITvInputSessionRequestAd                            = binder.FirstCallTransaction + 30
	TransactionITvInputSessionNotifyAdBufferReady                  = binder.FirstCallTransaction + 31
	TransactionITvInputSessionNotifyTvMessage                      = binder.FirstCallTransaction + 32
	TransactionITvInputSessionSetTvMessageEnabled                  = binder.FirstCallTransaction + 33
	TransactionITvInputSessionSetVideoFrozen                       = binder.FirstCallTransaction + 34
	TransactionITvInputSessionNotifyTvAdSessionData                = binder.FirstCallTransaction + 35
)
View Source
const (
	MethodITvInputSessionRelease                              = "release"
	MethodITvInputSessionSetMain                              = "setMain"
	MethodITvInputSessionSetSurface                           = "setSurface"
	MethodITvInputSessionDispatchSurfaceChanged               = "dispatchSurfaceChanged"
	MethodITvInputSessionSetVolume                            = "setVolume"
	MethodITvInputSessionTune                                 = "tune"
	MethodITvInputSessionSetCaptionEnabled                    = "setCaptionEnabled"
	MethodITvInputSessionSelectAudioPresentation              = "selectAudioPresentation"
	MethodITvInputSessionSelectTrack                          = "selectTrack"
	MethodITvInputSessionSetInteractiveAppNotificationEnabled = "setInteractiveAppNotificationEnabled"
	MethodITvInputSessionAppPrivateCommand                    = "appPrivateCommand"
	MethodITvInputSessionCreateOverlayView                    = "createOverlayView"
	MethodITvInputSessionRelayoutOverlayView                  = "relayoutOverlayView"
	MethodITvInputSessionRemoveOverlayView                    = "removeOverlayView"
	MethodITvInputSessionUnblockContent                       = "unblockContent"
	MethodITvInputSessionTimeShiftPlay                        = "timeShiftPlay"
	MethodITvInputSessionTimeShiftPause                       = "timeShiftPause"
	MethodITvInputSessionTimeShiftResume                      = "timeShiftResume"
	MethodITvInputSessionTimeShiftSeekTo                      = "timeShiftSeekTo"
	MethodITvInputSessionTimeShiftSetPlaybackParams           = "timeShiftSetPlaybackParams"
	MethodITvInputSessionTimeShiftSetMode                     = "timeShiftSetMode"
	MethodITvInputSessionTimeShiftEnablePositionTracking      = "timeShiftEnablePositionTracking"
	MethodITvInputSessionResumePlayback                       = "resumePlayback"
	MethodITvInputSessionStopPlayback                         = "stopPlayback"
	MethodITvInputSessionStartRecording                       = "startRecording"
	MethodITvInputSessionStopRecording                        = "stopRecording"
	MethodITvInputSessionPauseRecording                       = "pauseRecording"
	MethodITvInputSessionResumeRecording                      = "resumeRecording"
	MethodITvInputSessionRequestBroadcastInfo                 = "requestBroadcastInfo"
	MethodITvInputSessionRemoveBroadcastInfo                  = "removeBroadcastInfo"
	MethodITvInputSessionRequestAd                            = "requestAd"
	MethodITvInputSessionNotifyAdBufferReady                  = "notifyAdBufferReady"
	MethodITvInputSessionNotifyTvMessage                      = "notifyTvMessage"
	MethodITvInputSessionSetTvMessageEnabled                  = "setTvMessageEnabled"
	MethodITvInputSessionSetVideoFrozen                       = "setVideoFrozen"
	MethodITvInputSessionNotifyTvAdSessionData                = "notifyTvAdSessionData"
)
View Source
const (
	TransactionITvInputSessionCallbackOnSessionCreated                  = binder.FirstCallTransaction + 0
	TransactionITvInputSessionCallbackOnSessionEvent                    = binder.FirstCallTransaction + 1
	TransactionITvInputSessionCallbackOnChannelRetuned                  = binder.FirstCallTransaction + 2
	TransactionITvInputSessionCallbackOnAudioPresentationsChanged       = binder.FirstCallTransaction + 3
	TransactionITvInputSessionCallbackOnAudioPresentationSelected       = binder.FirstCallTransaction + 4
	TransactionITvInputSessionCallbackOnTracksChanged                   = binder.FirstCallTransaction + 5
	TransactionITvInputSessionCallbackOnTrackSelected                   = binder.FirstCallTransaction + 6
	TransactionITvInputSessionCallbackOnVideoAvailable                  = binder.FirstCallTransaction + 7
	TransactionITvInputSessionCallbackOnVideoUnavailable                = binder.FirstCallTransaction + 8
	TransactionITvInputSessionCallbackOnVideoFreezeUpdated              = binder.FirstCallTransaction + 9
	TransactionITvInputSessionCallbackOnContentAllowed                  = binder.FirstCallTransaction + 10
	TransactionITvInputSessionCallbackOnContentBlocked                  = binder.FirstCallTransaction + 11
	TransactionITvInputSessionCallbackOnLayoutSurface                   = binder.FirstCallTransaction + 12
	TransactionITvInputSessionCallbackOnTimeShiftStatusChanged          = binder.FirstCallTransaction + 13
	TransactionITvInputSessionCallbackOnTimeShiftStartPositionChanged   = binder.FirstCallTransaction + 14
	TransactionITvInputSessionCallbackOnTimeShiftCurrentPositionChanged = binder.FirstCallTransaction + 15
	TransactionITvInputSessionCallbackOnAitInfoUpdated                  = binder.FirstCallTransaction + 16
	TransactionITvInputSessionCallbackOnSignalStrength                  = binder.FirstCallTransaction + 17
	TransactionITvInputSessionCallbackOnCueingMessageAvailability       = binder.FirstCallTransaction + 18
	TransactionITvInputSessionCallbackOnTimeShiftMode                   = binder.FirstCallTransaction + 19
	TransactionITvInputSessionCallbackOnAvailableSpeeds                 = binder.FirstCallTransaction + 20
	TransactionITvInputSessionCallbackOnTuned                           = binder.FirstCallTransaction + 21
	TransactionITvInputSessionCallbackOnRecordingStopped                = binder.FirstCallTransaction + 22
	TransactionITvInputSessionCallbackOnError                           = binder.FirstCallTransaction + 23
	TransactionITvInputSessionCallbackOnBroadcastInfoResponse           = binder.FirstCallTransaction + 24
	TransactionITvInputSessionCallbackOnAdResponse                      = binder.FirstCallTransaction + 25
	TransactionITvInputSessionCallbackOnAdBufferConsumed                = binder.FirstCallTransaction + 26
	TransactionITvInputSessionCallbackOnTvMessage                       = binder.FirstCallTransaction + 27
	TransactionITvInputSessionCallbackOnTvInputSessionData              = binder.FirstCallTransaction + 28
)
View Source
const (
	MethodITvInputSessionCallbackOnSessionCreated                  = "onSessionCreated"
	MethodITvInputSessionCallbackOnSessionEvent                    = "onSessionEvent"
	MethodITvInputSessionCallbackOnChannelRetuned                  = "onChannelRetuned"
	MethodITvInputSessionCallbackOnAudioPresentationsChanged       = "onAudioPresentationsChanged"
	MethodITvInputSessionCallbackOnAudioPresentationSelected       = "onAudioPresentationSelected"
	MethodITvInputSessionCallbackOnTracksChanged                   = "onTracksChanged"
	MethodITvInputSessionCallbackOnTrackSelected                   = "onTrackSelected"
	MethodITvInputSessionCallbackOnVideoAvailable                  = "onVideoAvailable"
	MethodITvInputSessionCallbackOnVideoUnavailable                = "onVideoUnavailable"
	MethodITvInputSessionCallbackOnVideoFreezeUpdated              = "onVideoFreezeUpdated"
	MethodITvInputSessionCallbackOnContentAllowed                  = "onContentAllowed"
	MethodITvInputSessionCallbackOnContentBlocked                  = "onContentBlocked"
	MethodITvInputSessionCallbackOnLayoutSurface                   = "onLayoutSurface"
	MethodITvInputSessionCallbackOnTimeShiftStatusChanged          = "onTimeShiftStatusChanged"
	MethodITvInputSessionCallbackOnTimeShiftStartPositionChanged   = "onTimeShiftStartPositionChanged"
	MethodITvInputSessionCallbackOnTimeShiftCurrentPositionChanged = "onTimeShiftCurrentPositionChanged"
	MethodITvInputSessionCallbackOnAitInfoUpdated                  = "onAitInfoUpdated"
	MethodITvInputSessionCallbackOnSignalStrength                  = "onSignalStrength"
	MethodITvInputSessionCallbackOnCueingMessageAvailability       = "onCueingMessageAvailability"
	MethodITvInputSessionCallbackOnTimeShiftMode                   = "onTimeShiftMode"
	MethodITvInputSessionCallbackOnAvailableSpeeds                 = "onAvailableSpeeds"
	MethodITvInputSessionCallbackOnTuned                           = "onTuned"
	MethodITvInputSessionCallbackOnRecordingStopped                = "onRecordingStopped"
	MethodITvInputSessionCallbackOnError                           = "onError"
	MethodITvInputSessionCallbackOnBroadcastInfoResponse           = "onBroadcastInfoResponse"
	MethodITvInputSessionCallbackOnAdResponse                      = "onAdResponse"
	MethodITvInputSessionCallbackOnAdBufferConsumed                = "onAdBufferConsumed"
	MethodITvInputSessionCallbackOnTvMessage                       = "onTvMessage"
	MethodITvInputSessionCallbackOnTvInputSessionData              = "onTvInputSessionData"
)
View Source
const (
	TransactionITvRemoteProviderSetRemoteServiceInputSink = binder.FirstCallTransaction + 0
	TransactionITvRemoteProviderOnInputBridgeConnected    = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodITvRemoteProviderSetRemoteServiceInputSink = "setRemoteServiceInputSink"
	MethodITvRemoteProviderOnInputBridgeConnected    = "onInputBridgeConnected"
)
View Source
const (
	TransactionITvRemoteServiceInputOpenInputBridge      = binder.FirstCallTransaction + 0
	TransactionITvRemoteServiceInputCloseInputBridge     = binder.FirstCallTransaction + 1
	TransactionITvRemoteServiceInputClearInputBridge     = binder.FirstCallTransaction + 2
	TransactionITvRemoteServiceInputSendTimestamp        = binder.FirstCallTransaction + 3
	TransactionITvRemoteServiceInputSendKeyDown          = binder.FirstCallTransaction + 4
	TransactionITvRemoteServiceInputSendKeyUp            = binder.FirstCallTransaction + 5
	TransactionITvRemoteServiceInputSendPointerDown      = binder.FirstCallTransaction + 6
	TransactionITvRemoteServiceInputSendPointerUp        = binder.FirstCallTransaction + 7
	TransactionITvRemoteServiceInputSendPointerSync      = binder.FirstCallTransaction + 8
	TransactionITvRemoteServiceInputOpenGamepadBridge    = binder.FirstCallTransaction + 9
	TransactionITvRemoteServiceInputSendGamepadKeyDown   = binder.FirstCallTransaction + 10
	TransactionITvRemoteServiceInputSendGamepadKeyUp     = binder.FirstCallTransaction + 11
	TransactionITvRemoteServiceInputSendGamepadAxisValue = binder.FirstCallTransaction + 12
)
View Source
const (
	MethodITvRemoteServiceInputOpenInputBridge      = "openInputBridge"
	MethodITvRemoteServiceInputCloseInputBridge     = "closeInputBridge"
	MethodITvRemoteServiceInputClearInputBridge     = "clearInputBridge"
	MethodITvRemoteServiceInputSendTimestamp        = "sendTimestamp"
	MethodITvRemoteServiceInputSendKeyDown          = "sendKeyDown"
	MethodITvRemoteServiceInputSendKeyUp            = "sendKeyUp"
	MethodITvRemoteServiceInputSendPointerDown      = "sendPointerDown"
	MethodITvRemoteServiceInputSendPointerUp        = "sendPointerUp"
	MethodITvRemoteServiceInputSendPointerSync      = "sendPointerSync"
	MethodITvRemoteServiceInputOpenGamepadBridge    = "openGamepadBridge"
	MethodITvRemoteServiceInputSendGamepadKeyDown   = "sendGamepadKeyDown"
	MethodITvRemoteServiceInputSendGamepadKeyUp     = "sendGamepadKeyUp"
	MethodITvRemoteServiceInputSendGamepadAxisValue = "sendGamepadAxisValue"
)
View Source
const DescriptorITvInputClient = "android.media.tv.ITvInputClient"
View Source
const DescriptorITvInputHardware = "android.media.tv.ITvInputHardware"
View Source
const DescriptorITvInputHardwareCallback = "android.media.tv.ITvInputHardwareCallback"
View Source
const DescriptorITvInputManager = "android.media.tv.ITvInputManager"
View Source
const DescriptorITvInputManagerCallback = "android.media.tv.ITvInputManagerCallback"
View Source
const DescriptorITvInputService = "android.media.tv.ITvInputService"
View Source
const DescriptorITvInputServiceCallback = "android.media.tv.ITvInputServiceCallback"
View Source
const DescriptorITvInputSession = "android.media.tv.ITvInputSession"
View Source
const DescriptorITvInputSessionCallback = "android.media.tv.ITvInputSessionCallback"
View Source
const DescriptorITvRemoteProvider = "android.media.tv.ITvRemoteProvider"
View Source
const DescriptorITvRemoteServiceInput = "android.media.tv.ITvRemoteServiceInput"

Variables

This section is empty.

Functions

This section is empty.

Types

type AdBuffer

type AdBuffer struct {
	Id                 int32
	MimeType           string
	Offset             int32
	Length             int32
	PresentationTimeUs int64
	Flags              int32
}

func (*AdBuffer) MarshalParcel

func (s *AdBuffer) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AdBuffer) UnmarshalParcel

func (s *AdBuffer) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AdRequest

type AdRequest struct {
	Id            int32
	RequestType   int32
	StartTime     int64
	StopTime      int64
	EchoInterval  int64
	MediaFileType string
}

func (*AdRequest) MarshalParcel

func (s *AdRequest) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AdRequest) UnmarshalParcel

func (s *AdRequest) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AdResponse

type AdResponse struct {
	Id           int32
	ResponseType int32
	ElapsedTime  int64
}

func (*AdResponse) MarshalParcel

func (s *AdResponse) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AdResponse) UnmarshalParcel

func (s *AdResponse) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AitInfo

type AitInfo struct {
	Type    int32
	Version int32
}

func (*AitInfo) MarshalParcel

func (s *AitInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AitInfo) UnmarshalParcel

func (s *AitInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type BroadcastInfoRequest

type BroadcastInfoRequest struct {
	Type      int32
	RequestId int32
	Option    int32
}

func (*BroadcastInfoRequest) MarshalParcel

func (s *BroadcastInfoRequest) MarshalParcel(
	p *parcel.Parcel,
) error

func (*BroadcastInfoRequest) UnmarshalParcel

func (s *BroadcastInfoRequest) UnmarshalParcel(
	p *parcel.Parcel,
) error

type BroadcastInfoResponse

type BroadcastInfoResponse struct {
	Type           int32
	RequestId      int32
	Sequence       int32
	ResponseResult int32
}

func (*BroadcastInfoResponse) MarshalParcel

func (s *BroadcastInfoResponse) MarshalParcel(
	p *parcel.Parcel,
) error

func (*BroadcastInfoResponse) UnmarshalParcel

func (s *BroadcastInfoResponse) UnmarshalParcel(
	p *parcel.Parcel,
) error

type DvbDeviceInfo

type DvbDeviceInfo struct {
	AdapterId int32
	DeviceId  int32
}

func (*DvbDeviceInfo) MarshalParcel

func (s *DvbDeviceInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*DvbDeviceInfo) UnmarshalParcel

func (s *DvbDeviceInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type ITvInputClient

type ITvInputClient interface {
	AsBinder() binder.IBinder
	OnSessionCreated(ctx context.Context, inputId string, token binder.IBinder, channel view.InputChannel, seq int32) error
	OnSessionReleased(ctx context.Context, seq int32) error
	OnSessionEvent(ctx context.Context, name string, args os.Bundle, seq int32) error
	OnChannelRetuned(ctx context.Context, channelUri net.Uri, seq int32) error
	OnAudioPresentationsChanged(ctx context.Context, AudioPresentations []media.AudioPresentation, seq int32) error
	OnAudioPresentationSelected(ctx context.Context, presentationId int32, programId int32, seq int32) error
	OnTracksChanged(ctx context.Context, tracks []TvTrackInfo, seq int32) error
	OnTrackSelected(ctx context.Context, type_ int32, trackId string, seq int32) error
	OnVideoAvailable(ctx context.Context, seq int32) error
	OnVideoUnavailable(ctx context.Context, reason int32, seq int32) error
	OnVideoFreezeUpdated(ctx context.Context, isFrozen bool, seq int32) error
	OnContentAllowed(ctx context.Context, seq int32) error
	OnContentBlocked(ctx context.Context, rating string, seq int32) error
	OnLayoutSurface(ctx context.Context, left int32, top int32, right int32, bottom int32, seq int32) error
	OnTimeShiftStatusChanged(ctx context.Context, status int32, seq int32) error
	OnTimeShiftStartPositionChanged(ctx context.Context, timeMs int64, seq int32) error
	OnTimeShiftCurrentPositionChanged(ctx context.Context, timeMs int64, seq int32) error
	OnAitInfoUpdated(ctx context.Context, aitInfo AitInfo, seq int32) error
	OnSignalStrength(ctx context.Context, stength int32, seq int32) error
	OnCueingMessageAvailability(ctx context.Context, available bool, seq int32) error
	OnTimeShiftMode(ctx context.Context, mode int32, seq int32) error
	OnAvailableSpeeds(ctx context.Context, speeds []float32, seq int32) error
	OnTvMessage(ctx context.Context, type_ int32, data os.Bundle, seq int32) error
	OnTuned(ctx context.Context, channelUri net.Uri, seq int32) error
	OnRecordingStopped(ctx context.Context, recordedProgramUri net.Uri, seq int32) error
	OnError(ctx context.Context, error_ int32, seq int32) error
	OnBroadcastInfoResponse(ctx context.Context, response BroadcastInfoResponse, seq int32) error
	OnAdResponse(ctx context.Context, response AdResponse, seq int32) error
	OnAdBufferConsumed(ctx context.Context, buffer AdBuffer, seq int32) error
	OnTvInputSessionData(ctx context.Context, type_ string, data os.Bundle, seq int32) error
}

func NewTvInputClientStub

func NewTvInputClientStub(
	impl ITvInputClientServer,
) ITvInputClient

NewTvInputClientStub creates a server-side ITvInputClient wrapping the given server implementation. The returned value satisfies ITvInputClient and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ITvInputClientServer

type ITvInputClientServer interface {
	OnSessionCreated(ctx context.Context, inputId string, token binder.IBinder, channel view.InputChannel, seq int32) error
	OnSessionReleased(ctx context.Context, seq int32) error
	OnSessionEvent(ctx context.Context, name string, args os.Bundle, seq int32) error
	OnChannelRetuned(ctx context.Context, channelUri net.Uri, seq int32) error
	OnAudioPresentationsChanged(ctx context.Context, AudioPresentations []media.AudioPresentation, seq int32) error
	OnAudioPresentationSelected(ctx context.Context, presentationId int32, programId int32, seq int32) error
	OnTracksChanged(ctx context.Context, tracks []TvTrackInfo, seq int32) error
	OnTrackSelected(ctx context.Context, type_ int32, trackId string, seq int32) error
	OnVideoAvailable(ctx context.Context, seq int32) error
	OnVideoUnavailable(ctx context.Context, reason int32, seq int32) error
	OnVideoFreezeUpdated(ctx context.Context, isFrozen bool, seq int32) error
	OnContentAllowed(ctx context.Context, seq int32) error
	OnContentBlocked(ctx context.Context, rating string, seq int32) error
	OnLayoutSurface(ctx context.Context, left int32, top int32, right int32, bottom int32, seq int32) error
	OnTimeShiftStatusChanged(ctx context.Context, status int32, seq int32) error
	OnTimeShiftStartPositionChanged(ctx context.Context, timeMs int64, seq int32) error
	OnTimeShiftCurrentPositionChanged(ctx context.Context, timeMs int64, seq int32) error
	OnAitInfoUpdated(ctx context.Context, aitInfo AitInfo, seq int32) error
	OnSignalStrength(ctx context.Context, stength int32, seq int32) error
	OnCueingMessageAvailability(ctx context.Context, available bool, seq int32) error
	OnTimeShiftMode(ctx context.Context, mode int32, seq int32) error
	OnAvailableSpeeds(ctx context.Context, speeds []float32, seq int32) error
	OnTvMessage(ctx context.Context, type_ int32, data os.Bundle, seq int32) error
	OnTuned(ctx context.Context, channelUri net.Uri, seq int32) error
	OnRecordingStopped(ctx context.Context, recordedProgramUri net.Uri, seq int32) error
	OnError(ctx context.Context, error_ int32, seq int32) error
	OnBroadcastInfoResponse(ctx context.Context, response BroadcastInfoResponse, seq int32) error
	OnAdResponse(ctx context.Context, response AdResponse, seq int32) error
	OnAdBufferConsumed(ctx context.Context, buffer AdBuffer, seq int32) error
	OnTvInputSessionData(ctx context.Context, type_ string, data os.Bundle, seq int32) error
}

ITvInputClientServer is the server-side interface that user implementations provide to NewTvInputClientStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ITvInputHardware

type ITvInputHardware interface {
	AsBinder() binder.IBinder
	SetSurface(ctx context.Context, surface view.Surface, config TvStreamConfig) (bool, error)
	SetStreamVolume(ctx context.Context, volume float32) error
	OverrideAudioSink(ctx context.Context, audioType int32, audioAddress string, samplingRate int32, channelMask int32, format int32) error
}

func NewTvInputHardwareStub

func NewTvInputHardwareStub(
	impl ITvInputHardwareServer,
) ITvInputHardware

NewTvInputHardwareStub creates a server-side ITvInputHardware wrapping the given server implementation. The returned value satisfies ITvInputHardware and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ITvInputHardwareCallback

type ITvInputHardwareCallback interface {
	AsBinder() binder.IBinder
	OnReleased(ctx context.Context) error
	OnStreamConfigChanged(ctx context.Context, configs []TvStreamConfig) error
}

func NewTvInputHardwareCallbackStub

func NewTvInputHardwareCallbackStub(
	impl ITvInputHardwareCallbackServer,
) ITvInputHardwareCallback

NewTvInputHardwareCallbackStub creates a server-side ITvInputHardwareCallback wrapping the given server implementation. The returned value satisfies ITvInputHardwareCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ITvInputHardwareCallbackServer

type ITvInputHardwareCallbackServer interface {
	OnReleased(ctx context.Context) error
	OnStreamConfigChanged(ctx context.Context, configs []TvStreamConfig) error
}

ITvInputHardwareCallbackServer is the server-side interface that user implementations provide to NewTvInputHardwareCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ITvInputHardwareServer

type ITvInputHardwareServer interface {
	SetSurface(ctx context.Context, surface view.Surface, config TvStreamConfig) (bool, error)
	SetStreamVolume(ctx context.Context, volume float32) error
	OverrideAudioSink(ctx context.Context, audioType int32, audioAddress string, samplingRate int32, channelMask int32, format int32) error
}

ITvInputHardwareServer is the server-side interface that user implementations provide to NewTvInputHardwareStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ITvInputManager

type ITvInputManager interface {
	AsBinder() binder.IBinder
	GetTvInputList(ctx context.Context) ([]TvInputInfo, error)
	GetTvInputInfo(ctx context.Context, inputId string) (TvInputInfo, error)
	UpdateTvInputInfo(ctx context.Context, inputInfo TvInputInfo) error
	GetTvInputState(ctx context.Context, inputId string) (int32, error)
	GetAvailableExtensionInterfaceNames(ctx context.Context, inputId string) ([]string, error)
	GetExtensionInterface(ctx context.Context, inputId string, name string) (binder.IBinder, error)
	GetTvContentRatingSystemList(ctx context.Context) ([]TvContentRatingSystemInfo, error)
	RegisterCallback(ctx context.Context, callback ITvInputManagerCallback) error
	UnregisterCallback(ctx context.Context, callback ITvInputManagerCallback) error
	IsParentalControlsEnabled(ctx context.Context) (bool, error)
	SetParentalControlsEnabled(ctx context.Context, enabled bool) error
	IsRatingBlocked(ctx context.Context, rating string) (bool, error)
	GetBlockedRatings(ctx context.Context) ([]string, error)
	AddBlockedRating(ctx context.Context, rating string) error
	RemoveBlockedRating(ctx context.Context, rating string) error
	CreateSession(ctx context.Context, client ITvInputClient, inputId string, tvAppAttributionSource content.AttributionSource, isRecordingSession bool, seq int32) error
	ReleaseSession(ctx context.Context, sessionToken binder.IBinder) error
	GetClientPid(ctx context.Context, sessionId string) (int32, error)
	GetClientPriority(ctx context.Context, useCase int32, sessionId string) (int32, error)
	SetMainSession(ctx context.Context, sessionToken binder.IBinder) error
	SetSurface(ctx context.Context, sessionToken binder.IBinder, surface view.Surface) error
	DispatchSurfaceChanged(ctx context.Context, sessionToken binder.IBinder, format int32, width int32, height int32) error
	SetVolume(ctx context.Context, sessionToken binder.IBinder, volume float32) error
	Tune(ctx context.Context, sessionToken binder.IBinder, channelUri net.Uri, params os.Bundle) error
	SetCaptionEnabled(ctx context.Context, sessionToken binder.IBinder, enabled bool) error
	SelectTrack(ctx context.Context, sessionToken binder.IBinder, type_ int32, trackId string) error
	SelectAudioPresentation(ctx context.Context, sessionToken binder.IBinder, presentationId int32, programId int32) error
	SetInteractiveAppNotificationEnabled(ctx context.Context, sessionToken binder.IBinder, enabled bool) error
	SendAppPrivateCommand(ctx context.Context, sessionToken binder.IBinder, action string, data os.Bundle) error
	CreateOverlayView(ctx context.Context, sessionToken binder.IBinder, windowToken binder.IBinder, frame graphics.Rect) error
	RelayoutOverlayView(ctx context.Context, sessionToken binder.IBinder, frame graphics.Rect) error
	RemoveOverlayView(ctx context.Context, sessionToken binder.IBinder) error
	UnblockContent(ctx context.Context, sessionToken binder.IBinder, unblockedRating string) error
	TimeShiftPlay(ctx context.Context, sessionToken binder.IBinder, recordedProgramUri net.Uri) error
	TimeShiftPause(ctx context.Context, sessionToken binder.IBinder) error
	TimeShiftResume(ctx context.Context, sessionToken binder.IBinder) error
	TimeShiftSeekTo(ctx context.Context, sessionToken binder.IBinder, timeMs int64) error
	TimeShiftSetPlaybackParams(ctx context.Context, sessionToken binder.IBinder, params media.PlaybackParams) error
	TimeShiftSetMode(ctx context.Context, sessionToken binder.IBinder, mode int32) error
	TimeShiftEnablePositionTracking(ctx context.Context, sessionToken binder.IBinder, enable bool) error
	GetCurrentTunedInfos(ctx context.Context) ([]TunedInfo, error)
	StartRecording(ctx context.Context, sessionToken binder.IBinder, programUri net.Uri, params os.Bundle) error
	StopRecording(ctx context.Context, sessionToken binder.IBinder) error
	PauseRecording(ctx context.Context, sessionToken binder.IBinder, params os.Bundle) error
	ResumeRecording(ctx context.Context, sessionToken binder.IBinder, params os.Bundle) error
	ResumePlayback(ctx context.Context, sessionToken binder.IBinder) error
	StopPlayback(ctx context.Context, sessionToken binder.IBinder, mode int32) error
	RequestBroadcastInfo(ctx context.Context, sessionToken binder.IBinder, request BroadcastInfoRequest) error
	RemoveBroadcastInfo(ctx context.Context, sessionToken binder.IBinder, id int32) error
	RequestAd(ctx context.Context, sessionToken binder.IBinder, request AdRequest) error
	NotifyAdBufferReady(ctx context.Context, sessionToken binder.IBinder, buffer AdBuffer) error
	NotifyTvMessage(ctx context.Context, sessionToken binder.IBinder, type_ int32, data os.Bundle) error
	SetTvMessageEnabled(ctx context.Context, sessionToken binder.IBinder, type_ int32, enabled bool) error
	GetHardwareList(ctx context.Context) ([]TvInputHardwareInfo, error)
	AcquireTvInputHardware(ctx context.Context, deviceId int32, callback ITvInputHardwareCallback, info TvInputInfo, tvInputSessionId string, priorityHint int32) (ITvInputHardware, error)
	ReleaseTvInputHardware(ctx context.Context, deviceId int32, hardware ITvInputHardware) error
	GetAvailableTvStreamConfigList(ctx context.Context, inputId string) ([]TvStreamConfig, error)
	CaptureFrame(ctx context.Context, inputId string, surface view.Surface, config TvStreamConfig) (bool, error)
	IsSingleSessionActive(ctx context.Context) (bool, error)
	GetDvbDeviceList(ctx context.Context) ([]DvbDeviceInfo, error)
	OpenDvbDevice(ctx context.Context, info DvbDeviceInfo, device int32) (int32, error)
	SendTvInputNotifyIntent(ctx context.Context, intent content.Intent) error
	RequestChannelBrowsable(ctx context.Context, channelUri net.Uri) error
	AddHardwareDevice(ctx context.Context, deviceId int32) error
	RemoveHardwareDevice(ctx context.Context, deviceId int32) error
	SetVideoFrozen(ctx context.Context, sessionToken binder.IBinder, isFrozen bool) error
	NotifyTvAdSessionData(ctx context.Context, sessionToken binder.IBinder, type_ string, data os.Bundle) error
}

func NewTvInputManagerStub

func NewTvInputManagerStub(
	impl ITvInputManagerServer,
) ITvInputManager

NewTvInputManagerStub creates a server-side ITvInputManager wrapping the given server implementation. The returned value satisfies ITvInputManager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ITvInputManagerCallback

type ITvInputManagerCallback interface {
	AsBinder() binder.IBinder
	OnInputAdded(ctx context.Context, inputId string) error
	OnInputRemoved(ctx context.Context, inputId string) error
	OnInputUpdated(ctx context.Context, inputId string) error
	OnInputStateChanged(ctx context.Context, inputId string, state int32) error
	OnTvInputInfoUpdated(ctx context.Context, TvInputInfo TvInputInfo) error
	OnCurrentTunedInfosUpdated(ctx context.Context, currentTunedInfos []TunedInfo) error
}

func NewTvInputManagerCallbackStub

func NewTvInputManagerCallbackStub(
	impl ITvInputManagerCallbackServer,
) ITvInputManagerCallback

NewTvInputManagerCallbackStub creates a server-side ITvInputManagerCallback wrapping the given server implementation. The returned value satisfies ITvInputManagerCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ITvInputManagerCallbackServer

type ITvInputManagerCallbackServer interface {
	OnInputAdded(ctx context.Context, inputId string) error
	OnInputRemoved(ctx context.Context, inputId string) error
	OnInputUpdated(ctx context.Context, inputId string) error
	OnInputStateChanged(ctx context.Context, inputId string, state int32) error
	OnTvInputInfoUpdated(ctx context.Context, TvInputInfo TvInputInfo) error
	OnCurrentTunedInfosUpdated(ctx context.Context, currentTunedInfos []TunedInfo) error
}

ITvInputManagerCallbackServer is the server-side interface that user implementations provide to NewTvInputManagerCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ITvInputManagerServer

type ITvInputManagerServer interface {
	GetTvInputList(ctx context.Context) ([]TvInputInfo, error)
	GetTvInputInfo(ctx context.Context, inputId string) (TvInputInfo, error)
	UpdateTvInputInfo(ctx context.Context, inputInfo TvInputInfo) error
	GetTvInputState(ctx context.Context, inputId string) (int32, error)
	GetAvailableExtensionInterfaceNames(ctx context.Context, inputId string) ([]string, error)
	GetExtensionInterface(ctx context.Context, inputId string, name string) (binder.IBinder, error)
	GetTvContentRatingSystemList(ctx context.Context) ([]TvContentRatingSystemInfo, error)
	RegisterCallback(ctx context.Context, callback ITvInputManagerCallback) error
	UnregisterCallback(ctx context.Context, callback ITvInputManagerCallback) error
	IsParentalControlsEnabled(ctx context.Context) (bool, error)
	SetParentalControlsEnabled(ctx context.Context, enabled bool) error
	IsRatingBlocked(ctx context.Context, rating string) (bool, error)
	GetBlockedRatings(ctx context.Context) ([]string, error)
	AddBlockedRating(ctx context.Context, rating string) error
	RemoveBlockedRating(ctx context.Context, rating string) error
	CreateSession(ctx context.Context, client ITvInputClient, inputId string, tvAppAttributionSource content.AttributionSource, isRecordingSession bool, seq int32) error
	ReleaseSession(ctx context.Context, sessionToken binder.IBinder) error
	GetClientPid(ctx context.Context, sessionId string) (int32, error)
	GetClientPriority(ctx context.Context, useCase int32, sessionId string) (int32, error)
	SetMainSession(ctx context.Context, sessionToken binder.IBinder) error
	SetSurface(ctx context.Context, sessionToken binder.IBinder, surface view.Surface) error
	DispatchSurfaceChanged(ctx context.Context, sessionToken binder.IBinder, format int32, width int32, height int32) error
	SetVolume(ctx context.Context, sessionToken binder.IBinder, volume float32) error
	Tune(ctx context.Context, sessionToken binder.IBinder, channelUri net.Uri, params os.Bundle) error
	SetCaptionEnabled(ctx context.Context, sessionToken binder.IBinder, enabled bool) error
	SelectTrack(ctx context.Context, sessionToken binder.IBinder, type_ int32, trackId string) error
	SelectAudioPresentation(ctx context.Context, sessionToken binder.IBinder, presentationId int32, programId int32) error
	SetInteractiveAppNotificationEnabled(ctx context.Context, sessionToken binder.IBinder, enabled bool) error
	SendAppPrivateCommand(ctx context.Context, sessionToken binder.IBinder, action string, data os.Bundle) error
	CreateOverlayView(ctx context.Context, sessionToken binder.IBinder, windowToken binder.IBinder, frame graphics.Rect) error
	RelayoutOverlayView(ctx context.Context, sessionToken binder.IBinder, frame graphics.Rect) error
	RemoveOverlayView(ctx context.Context, sessionToken binder.IBinder) error
	UnblockContent(ctx context.Context, sessionToken binder.IBinder, unblockedRating string) error
	TimeShiftPlay(ctx context.Context, sessionToken binder.IBinder, recordedProgramUri net.Uri) error
	TimeShiftPause(ctx context.Context, sessionToken binder.IBinder) error
	TimeShiftResume(ctx context.Context, sessionToken binder.IBinder) error
	TimeShiftSeekTo(ctx context.Context, sessionToken binder.IBinder, timeMs int64) error
	TimeShiftSetPlaybackParams(ctx context.Context, sessionToken binder.IBinder, params media.PlaybackParams) error
	TimeShiftSetMode(ctx context.Context, sessionToken binder.IBinder, mode int32) error
	TimeShiftEnablePositionTracking(ctx context.Context, sessionToken binder.IBinder, enable bool) error
	GetCurrentTunedInfos(ctx context.Context) ([]TunedInfo, error)
	StartRecording(ctx context.Context, sessionToken binder.IBinder, programUri net.Uri, params os.Bundle) error
	StopRecording(ctx context.Context, sessionToken binder.IBinder) error
	PauseRecording(ctx context.Context, sessionToken binder.IBinder, params os.Bundle) error
	ResumeRecording(ctx context.Context, sessionToken binder.IBinder, params os.Bundle) error
	ResumePlayback(ctx context.Context, sessionToken binder.IBinder) error
	StopPlayback(ctx context.Context, sessionToken binder.IBinder, mode int32) error
	RequestBroadcastInfo(ctx context.Context, sessionToken binder.IBinder, request BroadcastInfoRequest) error
	RemoveBroadcastInfo(ctx context.Context, sessionToken binder.IBinder, id int32) error
	RequestAd(ctx context.Context, sessionToken binder.IBinder, request AdRequest) error
	NotifyAdBufferReady(ctx context.Context, sessionToken binder.IBinder, buffer AdBuffer) error
	NotifyTvMessage(ctx context.Context, sessionToken binder.IBinder, type_ int32, data os.Bundle) error
	SetTvMessageEnabled(ctx context.Context, sessionToken binder.IBinder, type_ int32, enabled bool) error
	GetHardwareList(ctx context.Context) ([]TvInputHardwareInfo, error)
	AcquireTvInputHardware(ctx context.Context, deviceId int32, callback ITvInputHardwareCallback, info TvInputInfo, tvInputSessionId string, priorityHint int32) (ITvInputHardware, error)
	ReleaseTvInputHardware(ctx context.Context, deviceId int32, hardware ITvInputHardware) error
	GetAvailableTvStreamConfigList(ctx context.Context, inputId string) ([]TvStreamConfig, error)
	CaptureFrame(ctx context.Context, inputId string, surface view.Surface, config TvStreamConfig) (bool, error)
	IsSingleSessionActive(ctx context.Context) (bool, error)
	GetDvbDeviceList(ctx context.Context) ([]DvbDeviceInfo, error)
	OpenDvbDevice(ctx context.Context, info DvbDeviceInfo, device int32) (int32, error)
	SendTvInputNotifyIntent(ctx context.Context, intent content.Intent) error
	RequestChannelBrowsable(ctx context.Context, channelUri net.Uri) error
	AddHardwareDevice(ctx context.Context, deviceId int32) error
	RemoveHardwareDevice(ctx context.Context, deviceId int32) error
	SetVideoFrozen(ctx context.Context, sessionToken binder.IBinder, isFrozen bool) error
	NotifyTvAdSessionData(ctx context.Context, sessionToken binder.IBinder, type_ string, data os.Bundle) error
}

ITvInputManagerServer is the server-side interface that user implementations provide to NewTvInputManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ITvInputService

type ITvInputService interface {
	AsBinder() binder.IBinder
	RegisterCallback(ctx context.Context, callback ITvInputServiceCallback) error
	UnregisterCallback(ctx context.Context, callback ITvInputServiceCallback) error
	CreateSession(ctx context.Context, channel view.InputChannel, callback ITvInputSessionCallback, inputId string, sessionId string, tvAppAttributionSource content.AttributionSource) error
	CreateRecordingSession(ctx context.Context, callback ITvInputSessionCallback, inputId string, sessionId string) error
	GetAvailableExtensionInterfaceNames(ctx context.Context) ([]string, error)
	GetExtensionInterface(ctx context.Context, name string) (binder.IBinder, error)
	GetExtensionInterfacePermission(ctx context.Context, name string) (string, error)
	NotifyHardwareAdded(ctx context.Context, hardwareInfo TvInputHardwareInfo) error
	NotifyHardwareRemoved(ctx context.Context, hardwareInfo TvInputHardwareInfo) error
	NotifyHdmiDeviceAdded(ctx context.Context, deviceInfo hdmi.HdmiDeviceInfo) error
	NotifyHdmiDeviceRemoved(ctx context.Context, deviceInfo hdmi.HdmiDeviceInfo) error
	NotifyHdmiDeviceUpdated(ctx context.Context, deviceInfo hdmi.HdmiDeviceInfo) error
}

func NewTvInputServiceStub

func NewTvInputServiceStub(
	impl ITvInputServiceServer,
) ITvInputService

NewTvInputServiceStub creates a server-side ITvInputService wrapping the given server implementation. The returned value satisfies ITvInputService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ITvInputServiceCallback

type ITvInputServiceCallback interface {
	AsBinder() binder.IBinder
	AddHardwareInput(ctx context.Context, deviceId int32, inputInfo TvInputInfo) error
	AddHdmiInput(ctx context.Context, id int32, inputInfo TvInputInfo) error
	RemoveHardwareInput(ctx context.Context, inputId string) error
}

func NewTvInputServiceCallbackStub

func NewTvInputServiceCallbackStub(
	impl ITvInputServiceCallbackServer,
) ITvInputServiceCallback

NewTvInputServiceCallbackStub creates a server-side ITvInputServiceCallback wrapping the given server implementation. The returned value satisfies ITvInputServiceCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ITvInputServiceCallbackServer

type ITvInputServiceCallbackServer interface {
	AddHardwareInput(ctx context.Context, deviceId int32, inputInfo TvInputInfo) error
	AddHdmiInput(ctx context.Context, id int32, inputInfo TvInputInfo) error
	RemoveHardwareInput(ctx context.Context, inputId string) error
}

ITvInputServiceCallbackServer is the server-side interface that user implementations provide to NewTvInputServiceCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ITvInputServiceServer

type ITvInputServiceServer interface {
	RegisterCallback(ctx context.Context, callback ITvInputServiceCallback) error
	UnregisterCallback(ctx context.Context, callback ITvInputServiceCallback) error
	CreateSession(ctx context.Context, channel view.InputChannel, callback ITvInputSessionCallback, inputId string, sessionId string, tvAppAttributionSource content.AttributionSource) error
	CreateRecordingSession(ctx context.Context, callback ITvInputSessionCallback, inputId string, sessionId string) error
	GetAvailableExtensionInterfaceNames(ctx context.Context) ([]string, error)
	GetExtensionInterface(ctx context.Context, name string) (binder.IBinder, error)
	GetExtensionInterfacePermission(ctx context.Context, name string) (string, error)
	NotifyHardwareAdded(ctx context.Context, hardwareInfo TvInputHardwareInfo) error
	NotifyHardwareRemoved(ctx context.Context, hardwareInfo TvInputHardwareInfo) error
	NotifyHdmiDeviceAdded(ctx context.Context, deviceInfo hdmi.HdmiDeviceInfo) error
	NotifyHdmiDeviceRemoved(ctx context.Context, deviceInfo hdmi.HdmiDeviceInfo) error
	NotifyHdmiDeviceUpdated(ctx context.Context, deviceInfo hdmi.HdmiDeviceInfo) error
}

ITvInputServiceServer is the server-side interface that user implementations provide to NewTvInputServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ITvInputSession

type ITvInputSession interface {
	AsBinder() binder.IBinder
	Release(ctx context.Context) error
	SetMain(ctx context.Context, isMain bool) error
	SetSurface(ctx context.Context, surface view.Surface) error
	DispatchSurfaceChanged(ctx context.Context, format int32, width int32, height int32) error
	SetVolume(ctx context.Context, volume float32) error
	Tune(ctx context.Context, channelUri net.Uri, params os.Bundle) error
	SetCaptionEnabled(ctx context.Context, enabled bool) error
	SelectAudioPresentation(ctx context.Context, presentationId int32, programId int32) error
	SelectTrack(ctx context.Context, type_ int32, trackId string) error
	SetInteractiveAppNotificationEnabled(ctx context.Context, enable bool) error
	AppPrivateCommand(ctx context.Context, action string, data os.Bundle) error
	CreateOverlayView(ctx context.Context, windowToken binder.IBinder, frame graphics.Rect) error
	RelayoutOverlayView(ctx context.Context, frame graphics.Rect) error
	RemoveOverlayView(ctx context.Context) error
	UnblockContent(ctx context.Context, unblockedRating string) error
	TimeShiftPlay(ctx context.Context, recordedProgramUri net.Uri) error
	TimeShiftPause(ctx context.Context) error
	TimeShiftResume(ctx context.Context) error
	TimeShiftSeekTo(ctx context.Context, timeMs int64) error
	TimeShiftSetPlaybackParams(ctx context.Context, params media.PlaybackParams) error
	TimeShiftSetMode(ctx context.Context, mode int32) error
	TimeShiftEnablePositionTracking(ctx context.Context, enable bool) error
	ResumePlayback(ctx context.Context) error
	StopPlayback(ctx context.Context, mode int32) error
	StartRecording(ctx context.Context, programUri net.Uri, params os.Bundle) error
	StopRecording(ctx context.Context) error
	PauseRecording(ctx context.Context, params os.Bundle) error
	ResumeRecording(ctx context.Context, params os.Bundle) error
	RequestBroadcastInfo(ctx context.Context, request BroadcastInfoRequest) error
	RemoveBroadcastInfo(ctx context.Context, id int32) error
	RequestAd(ctx context.Context, request AdRequest) error
	NotifyAdBufferReady(ctx context.Context, buffer AdBuffer) error
	NotifyTvMessage(ctx context.Context, type_ int32, data os.Bundle) error
	SetTvMessageEnabled(ctx context.Context, type_ int32, enabled bool) error
	SetVideoFrozen(ctx context.Context, isFrozen bool) error
	NotifyTvAdSessionData(ctx context.Context, type_ string, data os.Bundle) error
}

func NewTvInputSessionStub

func NewTvInputSessionStub(
	impl ITvInputSessionServer,
) ITvInputSession

NewTvInputSessionStub creates a server-side ITvInputSession wrapping the given server implementation. The returned value satisfies ITvInputSession and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ITvInputSessionCallback

type ITvInputSessionCallback interface {
	AsBinder() binder.IBinder
	OnSessionCreated(ctx context.Context, session ITvInputSession, hardwareSessionToken binder.IBinder) error
	OnSessionEvent(ctx context.Context, name string, args os.Bundle) error
	OnChannelRetuned(ctx context.Context, channelUri net.Uri) error
	OnAudioPresentationsChanged(ctx context.Context, tvAudioPresentations []media.AudioPresentation) error
	OnAudioPresentationSelected(ctx context.Context, presentationId int32, programId int32) error
	OnTracksChanged(ctx context.Context, tracks []TvTrackInfo) error
	OnTrackSelected(ctx context.Context, type_ int32, trackId string) error
	OnVideoAvailable(ctx context.Context) error
	OnVideoUnavailable(ctx context.Context, reason int32) error
	OnVideoFreezeUpdated(ctx context.Context, isFrozen bool) error
	OnContentAllowed(ctx context.Context) error
	OnContentBlocked(ctx context.Context, rating string) error
	OnLayoutSurface(ctx context.Context, left int32, top int32, right int32, bottom int32) error
	OnTimeShiftStatusChanged(ctx context.Context, status int32) error
	OnTimeShiftStartPositionChanged(ctx context.Context, timeMs int64) error
	OnTimeShiftCurrentPositionChanged(ctx context.Context, timeMs int64) error
	OnAitInfoUpdated(ctx context.Context, aitInfo AitInfo) error
	OnSignalStrength(ctx context.Context, strength int32) error
	OnCueingMessageAvailability(ctx context.Context, available bool) error
	OnTimeShiftMode(ctx context.Context, mode int32) error
	OnAvailableSpeeds(ctx context.Context, speeds []float32) error
	OnTuned(ctx context.Context, channelUri net.Uri) error
	OnRecordingStopped(ctx context.Context, recordedProgramUri net.Uri) error
	OnError(ctx context.Context, error_ int32) error
	OnBroadcastInfoResponse(ctx context.Context, response BroadcastInfoResponse) error
	OnAdResponse(ctx context.Context, response AdResponse) error
	OnAdBufferConsumed(ctx context.Context, buffer AdBuffer) error
	OnTvMessage(ctx context.Context, type_ int32, data os.Bundle) error
	OnTvInputSessionData(ctx context.Context, type_ string, data os.Bundle) error
}

func NewTvInputSessionCallbackStub

func NewTvInputSessionCallbackStub(
	impl ITvInputSessionCallbackServer,
) ITvInputSessionCallback

NewTvInputSessionCallbackStub creates a server-side ITvInputSessionCallback wrapping the given server implementation. The returned value satisfies ITvInputSessionCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ITvInputSessionCallbackServer

type ITvInputSessionCallbackServer interface {
	OnSessionCreated(ctx context.Context, session ITvInputSession, hardwareSessionToken binder.IBinder) error
	OnSessionEvent(ctx context.Context, name string, args os.Bundle) error
	OnChannelRetuned(ctx context.Context, channelUri net.Uri) error
	OnAudioPresentationsChanged(ctx context.Context, tvAudioPresentations []media.AudioPresentation) error
	OnAudioPresentationSelected(ctx context.Context, presentationId int32, programId int32) error
	OnTracksChanged(ctx context.Context, tracks []TvTrackInfo) error
	OnTrackSelected(ctx context.Context, type_ int32, trackId string) error
	OnVideoAvailable(ctx context.Context) error
	OnVideoUnavailable(ctx context.Context, reason int32) error
	OnVideoFreezeUpdated(ctx context.Context, isFrozen bool) error
	OnContentAllowed(ctx context.Context) error
	OnContentBlocked(ctx context.Context, rating string) error
	OnLayoutSurface(ctx context.Context, left int32, top int32, right int32, bottom int32) error
	OnTimeShiftStatusChanged(ctx context.Context, status int32) error
	OnTimeShiftStartPositionChanged(ctx context.Context, timeMs int64) error
	OnTimeShiftCurrentPositionChanged(ctx context.Context, timeMs int64) error
	OnAitInfoUpdated(ctx context.Context, aitInfo AitInfo) error
	OnSignalStrength(ctx context.Context, strength int32) error
	OnCueingMessageAvailability(ctx context.Context, available bool) error
	OnTimeShiftMode(ctx context.Context, mode int32) error
	OnAvailableSpeeds(ctx context.Context, speeds []float32) error
	OnTuned(ctx context.Context, channelUri net.Uri) error
	OnRecordingStopped(ctx context.Context, recordedProgramUri net.Uri) error
	OnError(ctx context.Context, error_ int32) error
	OnBroadcastInfoResponse(ctx context.Context, response BroadcastInfoResponse) error
	OnAdResponse(ctx context.Context, response AdResponse) error
	OnAdBufferConsumed(ctx context.Context, buffer AdBuffer) error
	OnTvMessage(ctx context.Context, type_ int32, data os.Bundle) error
	OnTvInputSessionData(ctx context.Context, type_ string, data os.Bundle) error
}

ITvInputSessionCallbackServer is the server-side interface that user implementations provide to NewTvInputSessionCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ITvInputSessionServer

type ITvInputSessionServer interface {
	Release(ctx context.Context) error
	SetMain(ctx context.Context, isMain bool) error
	SetSurface(ctx context.Context, surface view.Surface) error
	DispatchSurfaceChanged(ctx context.Context, format int32, width int32, height int32) error
	SetVolume(ctx context.Context, volume float32) error
	Tune(ctx context.Context, channelUri net.Uri, params os.Bundle) error
	SetCaptionEnabled(ctx context.Context, enabled bool) error
	SelectAudioPresentation(ctx context.Context, presentationId int32, programId int32) error
	SelectTrack(ctx context.Context, type_ int32, trackId string) error
	SetInteractiveAppNotificationEnabled(ctx context.Context, enable bool) error
	AppPrivateCommand(ctx context.Context, action string, data os.Bundle) error
	CreateOverlayView(ctx context.Context, windowToken binder.IBinder, frame graphics.Rect) error
	RelayoutOverlayView(ctx context.Context, frame graphics.Rect) error
	RemoveOverlayView(ctx context.Context) error
	UnblockContent(ctx context.Context, unblockedRating string) error
	TimeShiftPlay(ctx context.Context, recordedProgramUri net.Uri) error
	TimeShiftPause(ctx context.Context) error
	TimeShiftResume(ctx context.Context) error
	TimeShiftSeekTo(ctx context.Context, timeMs int64) error
	TimeShiftSetPlaybackParams(ctx context.Context, params media.PlaybackParams) error
	TimeShiftSetMode(ctx context.Context, mode int32) error
	TimeShiftEnablePositionTracking(ctx context.Context, enable bool) error
	ResumePlayback(ctx context.Context) error
	StopPlayback(ctx context.Context, mode int32) error
	StartRecording(ctx context.Context, programUri net.Uri, params os.Bundle) error
	StopRecording(ctx context.Context) error
	PauseRecording(ctx context.Context, params os.Bundle) error
	ResumeRecording(ctx context.Context, params os.Bundle) error
	RequestBroadcastInfo(ctx context.Context, request BroadcastInfoRequest) error
	RemoveBroadcastInfo(ctx context.Context, id int32) error
	RequestAd(ctx context.Context, request AdRequest) error
	NotifyAdBufferReady(ctx context.Context, buffer AdBuffer) error
	NotifyTvMessage(ctx context.Context, type_ int32, data os.Bundle) error
	SetTvMessageEnabled(ctx context.Context, type_ int32, enabled bool) error
	SetVideoFrozen(ctx context.Context, isFrozen bool) error
	NotifyTvAdSessionData(ctx context.Context, type_ string, data os.Bundle) error
}

ITvInputSessionServer is the server-side interface that user implementations provide to NewTvInputSessionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ITvRemoteProvider

type ITvRemoteProvider interface {
	AsBinder() binder.IBinder
	SetRemoteServiceInputSink(ctx context.Context, tvServiceInput ITvRemoteServiceInput) error
	OnInputBridgeConnected(ctx context.Context, token binder.IBinder) error
}

func NewTvRemoteProviderStub

func NewTvRemoteProviderStub(
	impl ITvRemoteProviderServer,
) ITvRemoteProvider

NewTvRemoteProviderStub creates a server-side ITvRemoteProvider wrapping the given server implementation. The returned value satisfies ITvRemoteProvider and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ITvRemoteProviderServer

type ITvRemoteProviderServer interface {
	SetRemoteServiceInputSink(ctx context.Context, tvServiceInput ITvRemoteServiceInput) error
	OnInputBridgeConnected(ctx context.Context, token binder.IBinder) error
}

ITvRemoteProviderServer is the server-side interface that user implementations provide to NewTvRemoteProviderStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ITvRemoteServiceInput

type ITvRemoteServiceInput interface {
	AsBinder() binder.IBinder
	OpenInputBridge(ctx context.Context, token binder.IBinder, name string, width int32, height int32, maxPointers int32) error
	CloseInputBridge(ctx context.Context, token binder.IBinder) error
	ClearInputBridge(ctx context.Context, token binder.IBinder) error
	SendTimestamp(ctx context.Context, token binder.IBinder, timestamp int64) error
	SendKeyDown(ctx context.Context, token binder.IBinder, keyCode int32) error
	SendKeyUp(ctx context.Context, token binder.IBinder, keyCode int32) error
	SendPointerDown(ctx context.Context, token binder.IBinder, pointerId int32, x int32, y int32) error
	SendPointerUp(ctx context.Context, token binder.IBinder, pointerId int32) error
	SendPointerSync(ctx context.Context, token binder.IBinder) error
	OpenGamepadBridge(ctx context.Context, token binder.IBinder, name string) error
	SendGamepadKeyDown(ctx context.Context, token binder.IBinder, keyCode int32) error
	SendGamepadKeyUp(ctx context.Context, token binder.IBinder, keyCode int32) error
	SendGamepadAxisValue(ctx context.Context, token binder.IBinder, axis int32, value float32) error
}

func NewTvRemoteServiceInputStub

func NewTvRemoteServiceInputStub(
	impl ITvRemoteServiceInputServer,
) ITvRemoteServiceInput

NewTvRemoteServiceInputStub creates a server-side ITvRemoteServiceInput wrapping the given server implementation. The returned value satisfies ITvRemoteServiceInput and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ITvRemoteServiceInputServer

type ITvRemoteServiceInputServer interface {
	OpenInputBridge(ctx context.Context, token binder.IBinder, name string, width int32, height int32, maxPointers int32) error
	CloseInputBridge(ctx context.Context, token binder.IBinder) error
	ClearInputBridge(ctx context.Context, token binder.IBinder) error
	SendTimestamp(ctx context.Context, token binder.IBinder, timestamp int64) error
	SendKeyDown(ctx context.Context, token binder.IBinder, keyCode int32) error
	SendKeyUp(ctx context.Context, token binder.IBinder, keyCode int32) error
	SendPointerDown(ctx context.Context, token binder.IBinder, pointerId int32, x int32, y int32) error
	SendPointerUp(ctx context.Context, token binder.IBinder, pointerId int32) error
	SendPointerSync(ctx context.Context, token binder.IBinder) error
	OpenGamepadBridge(ctx context.Context, token binder.IBinder, name string) error
	SendGamepadKeyDown(ctx context.Context, token binder.IBinder, keyCode int32) error
	SendGamepadKeyUp(ctx context.Context, token binder.IBinder, keyCode int32) error
	SendGamepadAxisValue(ctx context.Context, token binder.IBinder, axis int32, value float32) error
}

ITvRemoteServiceInputServer is the server-side interface that user implementations provide to NewTvRemoteServiceInputStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type SignalingDataInfo

type SignalingDataInfo struct {
	Table             string
	SignalingDataType string
	Version           int32
	Group             int32
	Encoding          string
}

func (*SignalingDataInfo) MarshalParcel

func (s *SignalingDataInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SignalingDataInfo) UnmarshalParcel

func (s *SignalingDataInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SignalingDataRequest

type SignalingDataRequest struct {
	Group int32
}

func (*SignalingDataRequest) MarshalParcel

func (s *SignalingDataRequest) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SignalingDataRequest) UnmarshalParcel

func (s *SignalingDataRequest) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SignalingDataResponse

type SignalingDataResponse struct {
}

func (*SignalingDataResponse) MarshalParcel

func (s *SignalingDataResponse) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SignalingDataResponse) UnmarshalParcel

func (s *SignalingDataResponse) UnmarshalParcel(
	p *parcel.Parcel,
) error

type TunedInfo

type TunedInfo struct {
	InputId   string
	UriString string
	AppType   int32
	AppTag    int32
}

func (*TunedInfo) MarshalParcel

func (s *TunedInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*TunedInfo) UnmarshalParcel

func (s *TunedInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type TvContentRatingSystemInfo

type TvContentRatingSystemInfo struct {
	ApplicationInfo *pm.ApplicationInfo
}

func (*TvContentRatingSystemInfo) MarshalParcel

func (s *TvContentRatingSystemInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*TvContentRatingSystemInfo) UnmarshalParcel

func (s *TvContentRatingSystemInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type TvInputClientProxy

type TvInputClientProxy struct {
	Remote binder.IBinder
}

func NewTvInputClientProxy

func NewTvInputClientProxy(
	remote binder.IBinder,
) *TvInputClientProxy

func (*TvInputClientProxy) AsBinder

func (p *TvInputClientProxy) AsBinder() binder.IBinder

func (*TvInputClientProxy) OnAdBufferConsumed

func (p *TvInputClientProxy) OnAdBufferConsumed(
	ctx context.Context,
	buffer AdBuffer,
	seq int32,
) error

func (*TvInputClientProxy) OnAdResponse

func (p *TvInputClientProxy) OnAdResponse(
	ctx context.Context,
	response AdResponse,
	seq int32,
) error

func (*TvInputClientProxy) OnAitInfoUpdated

func (p *TvInputClientProxy) OnAitInfoUpdated(
	ctx context.Context,
	aitInfo AitInfo,
	seq int32,
) error

func (*TvInputClientProxy) OnAudioPresentationSelected

func (p *TvInputClientProxy) OnAudioPresentationSelected(
	ctx context.Context,
	presentationId int32,
	programId int32,
	seq int32,
) error

func (*TvInputClientProxy) OnAudioPresentationsChanged

func (p *TvInputClientProxy) OnAudioPresentationsChanged(
	ctx context.Context,
	AudioPresentations []media.AudioPresentation,
	seq int32,
) error

func (*TvInputClientProxy) OnAvailableSpeeds

func (p *TvInputClientProxy) OnAvailableSpeeds(
	ctx context.Context,
	speeds []float32,
	seq int32,
) error

func (*TvInputClientProxy) OnBroadcastInfoResponse

func (p *TvInputClientProxy) OnBroadcastInfoResponse(
	ctx context.Context,
	response BroadcastInfoResponse,
	seq int32,
) error

func (*TvInputClientProxy) OnChannelRetuned

func (p *TvInputClientProxy) OnChannelRetuned(
	ctx context.Context,
	channelUri net.Uri,
	seq int32,
) error

func (*TvInputClientProxy) OnContentAllowed

func (p *TvInputClientProxy) OnContentAllowed(
	ctx context.Context,
	seq int32,
) error

func (*TvInputClientProxy) OnContentBlocked

func (p *TvInputClientProxy) OnContentBlocked(
	ctx context.Context,
	rating string,
	seq int32,
) error

func (*TvInputClientProxy) OnCueingMessageAvailability

func (p *TvInputClientProxy) OnCueingMessageAvailability(
	ctx context.Context,
	available bool,
	seq int32,
) error

func (*TvInputClientProxy) OnError

func (p *TvInputClientProxy) OnError(
	ctx context.Context,
	error_ int32,
	seq int32,
) error

func (*TvInputClientProxy) OnLayoutSurface

func (p *TvInputClientProxy) OnLayoutSurface(
	ctx context.Context,
	left int32,
	top int32,
	right int32,
	bottom int32,
	seq int32,
) error

func (*TvInputClientProxy) OnRecordingStopped

func (p *TvInputClientProxy) OnRecordingStopped(
	ctx context.Context,
	recordedProgramUri net.Uri,
	seq int32,
) error

func (*TvInputClientProxy) OnSessionCreated

func (p *TvInputClientProxy) OnSessionCreated(
	ctx context.Context,
	inputId string,
	token binder.IBinder,
	channel view.InputChannel,
	seq int32,
) error

func (*TvInputClientProxy) OnSessionEvent

func (p *TvInputClientProxy) OnSessionEvent(
	ctx context.Context,
	name string,
	args os.Bundle,
	seq int32,
) error

func (*TvInputClientProxy) OnSessionReleased

func (p *TvInputClientProxy) OnSessionReleased(
	ctx context.Context,
	seq int32,
) error

func (*TvInputClientProxy) OnSignalStrength

func (p *TvInputClientProxy) OnSignalStrength(
	ctx context.Context,
	stength int32,
	seq int32,
) error

func (*TvInputClientProxy) OnTimeShiftCurrentPositionChanged

func (p *TvInputClientProxy) OnTimeShiftCurrentPositionChanged(
	ctx context.Context,
	timeMs int64,
	seq int32,
) error

func (*TvInputClientProxy) OnTimeShiftMode

func (p *TvInputClientProxy) OnTimeShiftMode(
	ctx context.Context,
	mode int32,
	seq int32,
) error

func (*TvInputClientProxy) OnTimeShiftStartPositionChanged

func (p *TvInputClientProxy) OnTimeShiftStartPositionChanged(
	ctx context.Context,
	timeMs int64,
	seq int32,
) error

func (*TvInputClientProxy) OnTimeShiftStatusChanged

func (p *TvInputClientProxy) OnTimeShiftStatusChanged(
	ctx context.Context,
	status int32,
	seq int32,
) error

func (*TvInputClientProxy) OnTrackSelected

func (p *TvInputClientProxy) OnTrackSelected(
	ctx context.Context,
	type_ int32,
	trackId string,
	seq int32,
) error

func (*TvInputClientProxy) OnTracksChanged

func (p *TvInputClientProxy) OnTracksChanged(
	ctx context.Context,
	tracks []TvTrackInfo,
	seq int32,
) error

func (*TvInputClientProxy) OnTuned

func (p *TvInputClientProxy) OnTuned(
	ctx context.Context,
	channelUri net.Uri,
	seq int32,
) error

func (*TvInputClientProxy) OnTvInputSessionData

func (p *TvInputClientProxy) OnTvInputSessionData(
	ctx context.Context,
	type_ string,
	data os.Bundle,
	seq int32,
) error

func (*TvInputClientProxy) OnTvMessage

func (p *TvInputClientProxy) OnTvMessage(
	ctx context.Context,
	type_ int32,
	data os.Bundle,
	seq int32,
) error

func (*TvInputClientProxy) OnVideoAvailable

func (p *TvInputClientProxy) OnVideoAvailable(
	ctx context.Context,
	seq int32,
) error

func (*TvInputClientProxy) OnVideoFreezeUpdated

func (p *TvInputClientProxy) OnVideoFreezeUpdated(
	ctx context.Context,
	isFrozen bool,
	seq int32,
) error

func (*TvInputClientProxy) OnVideoUnavailable

func (p *TvInputClientProxy) OnVideoUnavailable(
	ctx context.Context,
	reason int32,
	seq int32,
) error

type TvInputClientStub

type TvInputClientStub struct {
	Impl      ITvInputClient
	Transport binder.VersionAwareTransport
}

TvInputClientStub dispatches incoming binder transactions to a typed ITvInputClient implementation.

func (*TvInputClientStub) Descriptor

func (s *TvInputClientStub) Descriptor() string

func (*TvInputClientStub) OnTransaction

func (s *TvInputClientStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type TvInputHardwareCallbackProxy

type TvInputHardwareCallbackProxy struct {
	Remote binder.IBinder
}

func NewTvInputHardwareCallbackProxy

func NewTvInputHardwareCallbackProxy(
	remote binder.IBinder,
) *TvInputHardwareCallbackProxy

func (*TvInputHardwareCallbackProxy) AsBinder

func (*TvInputHardwareCallbackProxy) OnReleased

func (p *TvInputHardwareCallbackProxy) OnReleased(
	ctx context.Context,
) error

func (*TvInputHardwareCallbackProxy) OnStreamConfigChanged

func (p *TvInputHardwareCallbackProxy) OnStreamConfigChanged(
	ctx context.Context,
	configs []TvStreamConfig,
) error

type TvInputHardwareCallbackStub

type TvInputHardwareCallbackStub struct {
	Impl      ITvInputHardwareCallback
	Transport binder.VersionAwareTransport
}

TvInputHardwareCallbackStub dispatches incoming binder transactions to a typed ITvInputHardwareCallback implementation.

func (*TvInputHardwareCallbackStub) Descriptor

func (s *TvInputHardwareCallbackStub) Descriptor() string

func (*TvInputHardwareCallbackStub) OnTransaction

func (s *TvInputHardwareCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type TvInputHardwareInfo

type TvInputHardwareInfo struct {
	DeviceId              int32
	Type                  int32
	AudioType             int32
	AudioAddress          string
	CableConnectionStatus int32
}

func (*TvInputHardwareInfo) MarshalParcel

func (s *TvInputHardwareInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*TvInputHardwareInfo) UnmarshalParcel

func (s *TvInputHardwareInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type TvInputHardwareProxy

type TvInputHardwareProxy struct {
	Remote binder.IBinder
}

func NewTvInputHardwareProxy

func NewTvInputHardwareProxy(
	remote binder.IBinder,
) *TvInputHardwareProxy

func (*TvInputHardwareProxy) AsBinder

func (p *TvInputHardwareProxy) AsBinder() binder.IBinder

func (*TvInputHardwareProxy) OverrideAudioSink

func (p *TvInputHardwareProxy) OverrideAudioSink(
	ctx context.Context,
	audioType int32,
	audioAddress string,
	samplingRate int32,
	channelMask int32,
	format int32,
) error

func (*TvInputHardwareProxy) SetStreamVolume

func (p *TvInputHardwareProxy) SetStreamVolume(
	ctx context.Context,
	volume float32,
) error

func (*TvInputHardwareProxy) SetSurface

func (p *TvInputHardwareProxy) SetSurface(
	ctx context.Context,
	surface view.Surface,
	config TvStreamConfig,
) (bool, error)

type TvInputHardwareStub

type TvInputHardwareStub struct {
	Impl      ITvInputHardware
	Transport binder.VersionAwareTransport
}

TvInputHardwareStub dispatches incoming binder transactions to a typed ITvInputHardware implementation.

func (*TvInputHardwareStub) Descriptor

func (s *TvInputHardwareStub) Descriptor() string

func (*TvInputHardwareStub) OnTransaction

func (s *TvInputHardwareStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type TvInputInfo

type TvInputInfo struct {
	Id                             string
	Type                           int32
	LabelResId                     int32
	SetupActivity                  string
	TunerCount                     int32
	HdmiConnectionRelativePosition int32
	ParentId                       string
	Icon                           *drawable.Icon
	HdmiDeviceInfo                 *hdmi.HdmiDeviceInfo
}

func (*TvInputInfo) MarshalParcel

func (s *TvInputInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*TvInputInfo) UnmarshalParcel

func (s *TvInputInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type TvInputManagerCallbackProxy

type TvInputManagerCallbackProxy struct {
	Remote binder.IBinder
}

func NewTvInputManagerCallbackProxy

func NewTvInputManagerCallbackProxy(
	remote binder.IBinder,
) *TvInputManagerCallbackProxy

func (*TvInputManagerCallbackProxy) AsBinder

func (*TvInputManagerCallbackProxy) OnCurrentTunedInfosUpdated

func (p *TvInputManagerCallbackProxy) OnCurrentTunedInfosUpdated(
	ctx context.Context,
	currentTunedInfos []TunedInfo,
) error

func (*TvInputManagerCallbackProxy) OnInputAdded

func (p *TvInputManagerCallbackProxy) OnInputAdded(
	ctx context.Context,
	inputId string,
) error

func (*TvInputManagerCallbackProxy) OnInputRemoved

func (p *TvInputManagerCallbackProxy) OnInputRemoved(
	ctx context.Context,
	inputId string,
) error

func (*TvInputManagerCallbackProxy) OnInputStateChanged

func (p *TvInputManagerCallbackProxy) OnInputStateChanged(
	ctx context.Context,
	inputId string,
	state int32,
) error

func (*TvInputManagerCallbackProxy) OnInputUpdated

func (p *TvInputManagerCallbackProxy) OnInputUpdated(
	ctx context.Context,
	inputId string,
) error

func (*TvInputManagerCallbackProxy) OnTvInputInfoUpdated

func (p *TvInputManagerCallbackProxy) OnTvInputInfoUpdated(
	ctx context.Context,
	TvInputInfo TvInputInfo,
) error

type TvInputManagerCallbackStub

type TvInputManagerCallbackStub struct {
	Impl      ITvInputManagerCallback
	Transport binder.VersionAwareTransport
}

TvInputManagerCallbackStub dispatches incoming binder transactions to a typed ITvInputManagerCallback implementation.

func (*TvInputManagerCallbackStub) Descriptor

func (s *TvInputManagerCallbackStub) Descriptor() string

func (*TvInputManagerCallbackStub) OnTransaction

func (s *TvInputManagerCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type TvInputManagerProxy

type TvInputManagerProxy struct {
	Remote binder.IBinder
}

func GetTvInputManager

func GetTvInputManager(
	ctx context.Context,
	sm *servicemanager.ServiceManager,
) (*TvInputManagerProxy, error)

GetTvInputManager retrieves the TvInputService service and returns a typed proxy.

func NewTvInputManagerProxy

func NewTvInputManagerProxy(
	remote binder.IBinder,
) *TvInputManagerProxy

func (*TvInputManagerProxy) AcquireTvInputHardware

func (p *TvInputManagerProxy) AcquireTvInputHardware(
	ctx context.Context,
	deviceId int32,
	callback ITvInputHardwareCallback,
	info TvInputInfo,
	tvInputSessionId string,
	priorityHint int32,
) (ITvInputHardware, error)

func (*TvInputManagerProxy) AddBlockedRating

func (p *TvInputManagerProxy) AddBlockedRating(
	ctx context.Context,
	rating string,
) error

func (*TvInputManagerProxy) AddHardwareDevice

func (p *TvInputManagerProxy) AddHardwareDevice(
	ctx context.Context,
	deviceId int32,
) error

func (*TvInputManagerProxy) AsBinder

func (p *TvInputManagerProxy) AsBinder() binder.IBinder

func (*TvInputManagerProxy) CaptureFrame

func (p *TvInputManagerProxy) CaptureFrame(
	ctx context.Context,
	inputId string,
	surface view.Surface,
	config TvStreamConfig,
) (bool, error)

func (*TvInputManagerProxy) CreateOverlayView

func (p *TvInputManagerProxy) CreateOverlayView(
	ctx context.Context,
	sessionToken binder.IBinder,
	windowToken binder.IBinder,
	frame graphics.Rect,
) error

func (*TvInputManagerProxy) CreateSession

func (p *TvInputManagerProxy) CreateSession(
	ctx context.Context,
	client ITvInputClient,
	inputId string,
	tvAppAttributionSource content.AttributionSource,
	isRecordingSession bool,
	seq int32,
) error

func (*TvInputManagerProxy) DispatchSurfaceChanged

func (p *TvInputManagerProxy) DispatchSurfaceChanged(
	ctx context.Context,
	sessionToken binder.IBinder,
	format int32,
	width int32,
	height int32,
) error

func (*TvInputManagerProxy) GetAvailableExtensionInterfaceNames

func (p *TvInputManagerProxy) GetAvailableExtensionInterfaceNames(
	ctx context.Context,
	inputId string,
) ([]string, error)

func (*TvInputManagerProxy) GetAvailableTvStreamConfigList

func (p *TvInputManagerProxy) GetAvailableTvStreamConfigList(
	ctx context.Context,
	inputId string,
) ([]TvStreamConfig, error)

func (*TvInputManagerProxy) GetBlockedRatings

func (p *TvInputManagerProxy) GetBlockedRatings(
	ctx context.Context,
) ([]string, error)

func (*TvInputManagerProxy) GetClientPid

func (p *TvInputManagerProxy) GetClientPid(
	ctx context.Context,
	sessionId string,
) (int32, error)

func (*TvInputManagerProxy) GetClientPriority

func (p *TvInputManagerProxy) GetClientPriority(
	ctx context.Context,
	useCase int32,
	sessionId string,
) (int32, error)

func (*TvInputManagerProxy) GetCurrentTunedInfos

func (p *TvInputManagerProxy) GetCurrentTunedInfos(
	ctx context.Context,
) ([]TunedInfo, error)

func (*TvInputManagerProxy) GetDvbDeviceList

func (p *TvInputManagerProxy) GetDvbDeviceList(
	ctx context.Context,
) ([]DvbDeviceInfo, error)

func (*TvInputManagerProxy) GetExtensionInterface

func (p *TvInputManagerProxy) GetExtensionInterface(
	ctx context.Context,
	inputId string,
	name string,
) (binder.IBinder, error)

func (*TvInputManagerProxy) GetHardwareList

func (p *TvInputManagerProxy) GetHardwareList(
	ctx context.Context,
) ([]TvInputHardwareInfo, error)

func (*TvInputManagerProxy) GetTvContentRatingSystemList

func (p *TvInputManagerProxy) GetTvContentRatingSystemList(
	ctx context.Context,
) ([]TvContentRatingSystemInfo, error)

func (*TvInputManagerProxy) GetTvInputInfo

func (p *TvInputManagerProxy) GetTvInputInfo(
	ctx context.Context,
	inputId string,
) (TvInputInfo, error)

func (*TvInputManagerProxy) GetTvInputList

func (p *TvInputManagerProxy) GetTvInputList(
	ctx context.Context,
) ([]TvInputInfo, error)

func (*TvInputManagerProxy) GetTvInputState

func (p *TvInputManagerProxy) GetTvInputState(
	ctx context.Context,
	inputId string,
) (int32, error)

func (*TvInputManagerProxy) IsParentalControlsEnabled

func (p *TvInputManagerProxy) IsParentalControlsEnabled(
	ctx context.Context,
) (bool, error)

func (*TvInputManagerProxy) IsRatingBlocked

func (p *TvInputManagerProxy) IsRatingBlocked(
	ctx context.Context,
	rating string,
) (bool, error)

func (*TvInputManagerProxy) IsSingleSessionActive

func (p *TvInputManagerProxy) IsSingleSessionActive(
	ctx context.Context,
) (bool, error)

func (*TvInputManagerProxy) NotifyAdBufferReady

func (p *TvInputManagerProxy) NotifyAdBufferReady(
	ctx context.Context,
	sessionToken binder.IBinder,
	buffer AdBuffer,
) error

func (*TvInputManagerProxy) NotifyTvAdSessionData

func (p *TvInputManagerProxy) NotifyTvAdSessionData(
	ctx context.Context,
	sessionToken binder.IBinder,
	type_ string,
	data os.Bundle,
) error

func (*TvInputManagerProxy) NotifyTvMessage

func (p *TvInputManagerProxy) NotifyTvMessage(
	ctx context.Context,
	sessionToken binder.IBinder,
	type_ int32,
	data os.Bundle,
) error

func (*TvInputManagerProxy) OpenDvbDevice

func (p *TvInputManagerProxy) OpenDvbDevice(
	ctx context.Context,
	info DvbDeviceInfo,
	device int32,
) (int32, error)

func (*TvInputManagerProxy) PauseRecording

func (p *TvInputManagerProxy) PauseRecording(
	ctx context.Context,
	sessionToken binder.IBinder,
	params os.Bundle,
) error

func (*TvInputManagerProxy) RegisterCallback

func (p *TvInputManagerProxy) RegisterCallback(
	ctx context.Context,
	callback ITvInputManagerCallback,
) error

func (*TvInputManagerProxy) RelayoutOverlayView

func (p *TvInputManagerProxy) RelayoutOverlayView(
	ctx context.Context,
	sessionToken binder.IBinder,
	frame graphics.Rect,
) error

func (*TvInputManagerProxy) ReleaseSession

func (p *TvInputManagerProxy) ReleaseSession(
	ctx context.Context,
	sessionToken binder.IBinder,
) error

func (*TvInputManagerProxy) ReleaseTvInputHardware

func (p *TvInputManagerProxy) ReleaseTvInputHardware(
	ctx context.Context,
	deviceId int32,
	hardware ITvInputHardware,
) error

func (*TvInputManagerProxy) RemoveBlockedRating

func (p *TvInputManagerProxy) RemoveBlockedRating(
	ctx context.Context,
	rating string,
) error

func (*TvInputManagerProxy) RemoveBroadcastInfo

func (p *TvInputManagerProxy) RemoveBroadcastInfo(
	ctx context.Context,
	sessionToken binder.IBinder,
	id int32,
) error

func (*TvInputManagerProxy) RemoveHardwareDevice

func (p *TvInputManagerProxy) RemoveHardwareDevice(
	ctx context.Context,
	deviceId int32,
) error

func (*TvInputManagerProxy) RemoveOverlayView

func (p *TvInputManagerProxy) RemoveOverlayView(
	ctx context.Context,
	sessionToken binder.IBinder,
) error

func (*TvInputManagerProxy) RequestAd

func (p *TvInputManagerProxy) RequestAd(
	ctx context.Context,
	sessionToken binder.IBinder,
	request AdRequest,
) error

func (*TvInputManagerProxy) RequestBroadcastInfo

func (p *TvInputManagerProxy) RequestBroadcastInfo(
	ctx context.Context,
	sessionToken binder.IBinder,
	request BroadcastInfoRequest,
) error

func (*TvInputManagerProxy) RequestChannelBrowsable

func (p *TvInputManagerProxy) RequestChannelBrowsable(
	ctx context.Context,
	channelUri net.Uri,
) error

func (*TvInputManagerProxy) ResumePlayback

func (p *TvInputManagerProxy) ResumePlayback(
	ctx context.Context,
	sessionToken binder.IBinder,
) error

func (*TvInputManagerProxy) ResumeRecording

func (p *TvInputManagerProxy) ResumeRecording(
	ctx context.Context,
	sessionToken binder.IBinder,
	params os.Bundle,
) error

func (*TvInputManagerProxy) SelectAudioPresentation

func (p *TvInputManagerProxy) SelectAudioPresentation(
	ctx context.Context,
	sessionToken binder.IBinder,
	presentationId int32,
	programId int32,
) error

func (*TvInputManagerProxy) SelectTrack

func (p *TvInputManagerProxy) SelectTrack(
	ctx context.Context,
	sessionToken binder.IBinder,
	type_ int32,
	trackId string,
) error

func (*TvInputManagerProxy) SendAppPrivateCommand

func (p *TvInputManagerProxy) SendAppPrivateCommand(
	ctx context.Context,
	sessionToken binder.IBinder,
	action string,
	data os.Bundle,
) error

func (*TvInputManagerProxy) SendTvInputNotifyIntent

func (p *TvInputManagerProxy) SendTvInputNotifyIntent(
	ctx context.Context,
	intent content.Intent,
) error

func (*TvInputManagerProxy) SetCaptionEnabled

func (p *TvInputManagerProxy) SetCaptionEnabled(
	ctx context.Context,
	sessionToken binder.IBinder,
	enabled bool,
) error

func (*TvInputManagerProxy) SetInteractiveAppNotificationEnabled

func (p *TvInputManagerProxy) SetInteractiveAppNotificationEnabled(
	ctx context.Context,
	sessionToken binder.IBinder,
	enabled bool,
) error

func (*TvInputManagerProxy) SetMainSession

func (p *TvInputManagerProxy) SetMainSession(
	ctx context.Context,
	sessionToken binder.IBinder,
) error

func (*TvInputManagerProxy) SetParentalControlsEnabled

func (p *TvInputManagerProxy) SetParentalControlsEnabled(
	ctx context.Context,
	enabled bool,
) error

func (*TvInputManagerProxy) SetSurface

func (p *TvInputManagerProxy) SetSurface(
	ctx context.Context,
	sessionToken binder.IBinder,
	surface view.Surface,
) error

func (*TvInputManagerProxy) SetTvMessageEnabled

func (p *TvInputManagerProxy) SetTvMessageEnabled(
	ctx context.Context,
	sessionToken binder.IBinder,
	type_ int32,
	enabled bool,
) error

func (*TvInputManagerProxy) SetVideoFrozen

func (p *TvInputManagerProxy) SetVideoFrozen(
	ctx context.Context,
	sessionToken binder.IBinder,
	isFrozen bool,
) error

func (*TvInputManagerProxy) SetVolume

func (p *TvInputManagerProxy) SetVolume(
	ctx context.Context,
	sessionToken binder.IBinder,
	volume float32,
) error

func (*TvInputManagerProxy) StartRecording

func (p *TvInputManagerProxy) StartRecording(
	ctx context.Context,
	sessionToken binder.IBinder,
	programUri net.Uri,
	params os.Bundle,
) error

func (*TvInputManagerProxy) StopPlayback

func (p *TvInputManagerProxy) StopPlayback(
	ctx context.Context,
	sessionToken binder.IBinder,
	mode int32,
) error

func (*TvInputManagerProxy) StopRecording

func (p *TvInputManagerProxy) StopRecording(
	ctx context.Context,
	sessionToken binder.IBinder,
) error

func (*TvInputManagerProxy) TimeShiftEnablePositionTracking

func (p *TvInputManagerProxy) TimeShiftEnablePositionTracking(
	ctx context.Context,
	sessionToken binder.IBinder,
	enable bool,
) error

func (*TvInputManagerProxy) TimeShiftPause

func (p *TvInputManagerProxy) TimeShiftPause(
	ctx context.Context,
	sessionToken binder.IBinder,
) error

func (*TvInputManagerProxy) TimeShiftPlay

func (p *TvInputManagerProxy) TimeShiftPlay(
	ctx context.Context,
	sessionToken binder.IBinder,
	recordedProgramUri net.Uri,
) error

func (*TvInputManagerProxy) TimeShiftResume

func (p *TvInputManagerProxy) TimeShiftResume(
	ctx context.Context,
	sessionToken binder.IBinder,
) error

func (*TvInputManagerProxy) TimeShiftSeekTo

func (p *TvInputManagerProxy) TimeShiftSeekTo(
	ctx context.Context,
	sessionToken binder.IBinder,
	timeMs int64,
) error

func (*TvInputManagerProxy) TimeShiftSetMode

func (p *TvInputManagerProxy) TimeShiftSetMode(
	ctx context.Context,
	sessionToken binder.IBinder,
	mode int32,
) error

func (*TvInputManagerProxy) TimeShiftSetPlaybackParams

func (p *TvInputManagerProxy) TimeShiftSetPlaybackParams(
	ctx context.Context,
	sessionToken binder.IBinder,
	params media.PlaybackParams,
) error

func (*TvInputManagerProxy) Tune

func (p *TvInputManagerProxy) Tune(
	ctx context.Context,
	sessionToken binder.IBinder,
	channelUri net.Uri,
	params os.Bundle,
) error

func (*TvInputManagerProxy) UnblockContent

func (p *TvInputManagerProxy) UnblockContent(
	ctx context.Context,
	sessionToken binder.IBinder,
	unblockedRating string,
) error

func (*TvInputManagerProxy) UnregisterCallback

func (p *TvInputManagerProxy) UnregisterCallback(
	ctx context.Context,
	callback ITvInputManagerCallback,
) error

func (*TvInputManagerProxy) UpdateTvInputInfo

func (p *TvInputManagerProxy) UpdateTvInputInfo(
	ctx context.Context,
	inputInfo TvInputInfo,
) error

type TvInputManagerStub

type TvInputManagerStub struct {
	Impl      ITvInputManager
	Transport binder.VersionAwareTransport
}

TvInputManagerStub dispatches incoming binder transactions to a typed ITvInputManager implementation.

func (*TvInputManagerStub) Descriptor

func (s *TvInputManagerStub) Descriptor() string

func (*TvInputManagerStub) OnTransaction

func (s *TvInputManagerStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type TvInputServiceCallbackProxy

type TvInputServiceCallbackProxy struct {
	Remote binder.IBinder
}

func NewTvInputServiceCallbackProxy

func NewTvInputServiceCallbackProxy(
	remote binder.IBinder,
) *TvInputServiceCallbackProxy

func (*TvInputServiceCallbackProxy) AddHardwareInput

func (p *TvInputServiceCallbackProxy) AddHardwareInput(
	ctx context.Context,
	deviceId int32,
	inputInfo TvInputInfo,
) error

func (*TvInputServiceCallbackProxy) AddHdmiInput

func (p *TvInputServiceCallbackProxy) AddHdmiInput(
	ctx context.Context,
	id int32,
	inputInfo TvInputInfo,
) error

func (*TvInputServiceCallbackProxy) AsBinder

func (*TvInputServiceCallbackProxy) RemoveHardwareInput

func (p *TvInputServiceCallbackProxy) RemoveHardwareInput(
	ctx context.Context,
	inputId string,
) error

type TvInputServiceCallbackStub

type TvInputServiceCallbackStub struct {
	Impl      ITvInputServiceCallback
	Transport binder.VersionAwareTransport
}

TvInputServiceCallbackStub dispatches incoming binder transactions to a typed ITvInputServiceCallback implementation.

func (*TvInputServiceCallbackStub) Descriptor

func (s *TvInputServiceCallbackStub) Descriptor() string

func (*TvInputServiceCallbackStub) OnTransaction

func (s *TvInputServiceCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type TvInputServiceProxy

type TvInputServiceProxy struct {
	Remote binder.IBinder
}

func NewTvInputServiceProxy

func NewTvInputServiceProxy(
	remote binder.IBinder,
) *TvInputServiceProxy

func (*TvInputServiceProxy) AsBinder

func (p *TvInputServiceProxy) AsBinder() binder.IBinder

func (*TvInputServiceProxy) CreateRecordingSession

func (p *TvInputServiceProxy) CreateRecordingSession(
	ctx context.Context,
	callback ITvInputSessionCallback,
	inputId string,
	sessionId string,
) error

func (*TvInputServiceProxy) CreateSession

func (p *TvInputServiceProxy) CreateSession(
	ctx context.Context,
	channel view.InputChannel,
	callback ITvInputSessionCallback,
	inputId string,
	sessionId string,
	tvAppAttributionSource content.AttributionSource,
) error

func (*TvInputServiceProxy) GetAvailableExtensionInterfaceNames

func (p *TvInputServiceProxy) GetAvailableExtensionInterfaceNames(
	ctx context.Context,
) ([]string, error)

func (*TvInputServiceProxy) GetExtensionInterface

func (p *TvInputServiceProxy) GetExtensionInterface(
	ctx context.Context,
	name string,
) (binder.IBinder, error)

func (*TvInputServiceProxy) GetExtensionInterfacePermission

func (p *TvInputServiceProxy) GetExtensionInterfacePermission(
	ctx context.Context,
	name string,
) (string, error)

func (*TvInputServiceProxy) NotifyHardwareAdded

func (p *TvInputServiceProxy) NotifyHardwareAdded(
	ctx context.Context,
	hardwareInfo TvInputHardwareInfo,
) error

func (*TvInputServiceProxy) NotifyHardwareRemoved

func (p *TvInputServiceProxy) NotifyHardwareRemoved(
	ctx context.Context,
	hardwareInfo TvInputHardwareInfo,
) error

func (*TvInputServiceProxy) NotifyHdmiDeviceAdded

func (p *TvInputServiceProxy) NotifyHdmiDeviceAdded(
	ctx context.Context,
	deviceInfo hdmi.HdmiDeviceInfo,
) error

func (*TvInputServiceProxy) NotifyHdmiDeviceRemoved

func (p *TvInputServiceProxy) NotifyHdmiDeviceRemoved(
	ctx context.Context,
	deviceInfo hdmi.HdmiDeviceInfo,
) error

func (*TvInputServiceProxy) NotifyHdmiDeviceUpdated

func (p *TvInputServiceProxy) NotifyHdmiDeviceUpdated(
	ctx context.Context,
	deviceInfo hdmi.HdmiDeviceInfo,
) error

func (*TvInputServiceProxy) RegisterCallback

func (p *TvInputServiceProxy) RegisterCallback(
	ctx context.Context,
	callback ITvInputServiceCallback,
) error

func (*TvInputServiceProxy) UnregisterCallback

func (p *TvInputServiceProxy) UnregisterCallback(
	ctx context.Context,
	callback ITvInputServiceCallback,
) error

type TvInputServiceStub

type TvInputServiceStub struct {
	Impl      ITvInputService
	Transport binder.VersionAwareTransport
}

TvInputServiceStub dispatches incoming binder transactions to a typed ITvInputService implementation.

func (*TvInputServiceStub) Descriptor

func (s *TvInputServiceStub) Descriptor() string

func (*TvInputServiceStub) OnTransaction

func (s *TvInputServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type TvInputSessionCallbackProxy

type TvInputSessionCallbackProxy struct {
	Remote binder.IBinder
}

func NewTvInputSessionCallbackProxy

func NewTvInputSessionCallbackProxy(
	remote binder.IBinder,
) *TvInputSessionCallbackProxy

func (*TvInputSessionCallbackProxy) AsBinder

func (*TvInputSessionCallbackProxy) OnAdBufferConsumed

func (p *TvInputSessionCallbackProxy) OnAdBufferConsumed(
	ctx context.Context,
	buffer AdBuffer,
) error

func (*TvInputSessionCallbackProxy) OnAdResponse

func (p *TvInputSessionCallbackProxy) OnAdResponse(
	ctx context.Context,
	response AdResponse,
) error

func (*TvInputSessionCallbackProxy) OnAitInfoUpdated

func (p *TvInputSessionCallbackProxy) OnAitInfoUpdated(
	ctx context.Context,
	aitInfo AitInfo,
) error

func (*TvInputSessionCallbackProxy) OnAudioPresentationSelected

func (p *TvInputSessionCallbackProxy) OnAudioPresentationSelected(
	ctx context.Context,
	presentationId int32,
	programId int32,
) error

func (*TvInputSessionCallbackProxy) OnAudioPresentationsChanged

func (p *TvInputSessionCallbackProxy) OnAudioPresentationsChanged(
	ctx context.Context,
	tvAudioPresentations []media.AudioPresentation,
) error

func (*TvInputSessionCallbackProxy) OnAvailableSpeeds

func (p *TvInputSessionCallbackProxy) OnAvailableSpeeds(
	ctx context.Context,
	speeds []float32,
) error

func (*TvInputSessionCallbackProxy) OnBroadcastInfoResponse

func (p *TvInputSessionCallbackProxy) OnBroadcastInfoResponse(
	ctx context.Context,
	response BroadcastInfoResponse,
) error

func (*TvInputSessionCallbackProxy) OnChannelRetuned

func (p *TvInputSessionCallbackProxy) OnChannelRetuned(
	ctx context.Context,
	channelUri net.Uri,
) error

func (*TvInputSessionCallbackProxy) OnContentAllowed

func (p *TvInputSessionCallbackProxy) OnContentAllowed(
	ctx context.Context,
) error

func (*TvInputSessionCallbackProxy) OnContentBlocked

func (p *TvInputSessionCallbackProxy) OnContentBlocked(
	ctx context.Context,
	rating string,
) error

func (*TvInputSessionCallbackProxy) OnCueingMessageAvailability

func (p *TvInputSessionCallbackProxy) OnCueingMessageAvailability(
	ctx context.Context,
	available bool,
) error

func (*TvInputSessionCallbackProxy) OnError

func (p *TvInputSessionCallbackProxy) OnError(
	ctx context.Context,
	error_ int32,
) error

func (*TvInputSessionCallbackProxy) OnLayoutSurface

func (p *TvInputSessionCallbackProxy) OnLayoutSurface(
	ctx context.Context,
	left int32,
	top int32,
	right int32,
	bottom int32,
) error

func (*TvInputSessionCallbackProxy) OnRecordingStopped

func (p *TvInputSessionCallbackProxy) OnRecordingStopped(
	ctx context.Context,
	recordedProgramUri net.Uri,
) error

func (*TvInputSessionCallbackProxy) OnSessionCreated

func (p *TvInputSessionCallbackProxy) OnSessionCreated(
	ctx context.Context,
	session ITvInputSession,
	hardwareSessionToken binder.IBinder,
) error

func (*TvInputSessionCallbackProxy) OnSessionEvent

func (p *TvInputSessionCallbackProxy) OnSessionEvent(
	ctx context.Context,
	name string,
	args os.Bundle,
) error

func (*TvInputSessionCallbackProxy) OnSignalStrength

func (p *TvInputSessionCallbackProxy) OnSignalStrength(
	ctx context.Context,
	strength int32,
) error

func (*TvInputSessionCallbackProxy) OnTimeShiftCurrentPositionChanged

func (p *TvInputSessionCallbackProxy) OnTimeShiftCurrentPositionChanged(
	ctx context.Context,
	timeMs int64,
) error

func (*TvInputSessionCallbackProxy) OnTimeShiftMode

func (p *TvInputSessionCallbackProxy) OnTimeShiftMode(
	ctx context.Context,
	mode int32,
) error

func (*TvInputSessionCallbackProxy) OnTimeShiftStartPositionChanged

func (p *TvInputSessionCallbackProxy) OnTimeShiftStartPositionChanged(
	ctx context.Context,
	timeMs int64,
) error

func (*TvInputSessionCallbackProxy) OnTimeShiftStatusChanged

func (p *TvInputSessionCallbackProxy) OnTimeShiftStatusChanged(
	ctx context.Context,
	status int32,
) error

func (*TvInputSessionCallbackProxy) OnTrackSelected

func (p *TvInputSessionCallbackProxy) OnTrackSelected(
	ctx context.Context,
	type_ int32,
	trackId string,
) error

func (*TvInputSessionCallbackProxy) OnTracksChanged

func (p *TvInputSessionCallbackProxy) OnTracksChanged(
	ctx context.Context,
	tracks []TvTrackInfo,
) error

func (*TvInputSessionCallbackProxy) OnTuned

func (p *TvInputSessionCallbackProxy) OnTuned(
	ctx context.Context,
	channelUri net.Uri,
) error

func (*TvInputSessionCallbackProxy) OnTvInputSessionData

func (p *TvInputSessionCallbackProxy) OnTvInputSessionData(
	ctx context.Context,
	type_ string,
	data os.Bundle,
) error

func (*TvInputSessionCallbackProxy) OnTvMessage

func (p *TvInputSessionCallbackProxy) OnTvMessage(
	ctx context.Context,
	type_ int32,
	data os.Bundle,
) error

func (*TvInputSessionCallbackProxy) OnVideoAvailable

func (p *TvInputSessionCallbackProxy) OnVideoAvailable(
	ctx context.Context,
) error

func (*TvInputSessionCallbackProxy) OnVideoFreezeUpdated

func (p *TvInputSessionCallbackProxy) OnVideoFreezeUpdated(
	ctx context.Context,
	isFrozen bool,
) error

func (*TvInputSessionCallbackProxy) OnVideoUnavailable

func (p *TvInputSessionCallbackProxy) OnVideoUnavailable(
	ctx context.Context,
	reason int32,
) error

type TvInputSessionCallbackStub

type TvInputSessionCallbackStub struct {
	Impl      ITvInputSessionCallback
	Transport binder.VersionAwareTransport
}

TvInputSessionCallbackStub dispatches incoming binder transactions to a typed ITvInputSessionCallback implementation.

func (*TvInputSessionCallbackStub) Descriptor

func (s *TvInputSessionCallbackStub) Descriptor() string

func (*TvInputSessionCallbackStub) OnTransaction

func (s *TvInputSessionCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type TvInputSessionProxy

type TvInputSessionProxy struct {
	Remote binder.IBinder
}

func NewTvInputSessionProxy

func NewTvInputSessionProxy(
	remote binder.IBinder,
) *TvInputSessionProxy

func (*TvInputSessionProxy) AppPrivateCommand

func (p *TvInputSessionProxy) AppPrivateCommand(
	ctx context.Context,
	action string,
	data os.Bundle,
) error

func (*TvInputSessionProxy) AsBinder

func (p *TvInputSessionProxy) AsBinder() binder.IBinder

func (*TvInputSessionProxy) CreateOverlayView

func (p *TvInputSessionProxy) CreateOverlayView(
	ctx context.Context,
	windowToken binder.IBinder,
	frame graphics.Rect,
) error

func (*TvInputSessionProxy) DispatchSurfaceChanged

func (p *TvInputSessionProxy) DispatchSurfaceChanged(
	ctx context.Context,
	format int32,
	width int32,
	height int32,
) error

func (*TvInputSessionProxy) NotifyAdBufferReady

func (p *TvInputSessionProxy) NotifyAdBufferReady(
	ctx context.Context,
	buffer AdBuffer,
) error

func (*TvInputSessionProxy) NotifyTvAdSessionData

func (p *TvInputSessionProxy) NotifyTvAdSessionData(
	ctx context.Context,
	type_ string,
	data os.Bundle,
) error

func (*TvInputSessionProxy) NotifyTvMessage

func (p *TvInputSessionProxy) NotifyTvMessage(
	ctx context.Context,
	type_ int32,
	data os.Bundle,
) error

func (*TvInputSessionProxy) PauseRecording

func (p *TvInputSessionProxy) PauseRecording(
	ctx context.Context,
	params os.Bundle,
) error

func (*TvInputSessionProxy) RelayoutOverlayView

func (p *TvInputSessionProxy) RelayoutOverlayView(
	ctx context.Context,
	frame graphics.Rect,
) error

func (*TvInputSessionProxy) Release

func (p *TvInputSessionProxy) Release(
	ctx context.Context,
) error

func (*TvInputSessionProxy) RemoveBroadcastInfo

func (p *TvInputSessionProxy) RemoveBroadcastInfo(
	ctx context.Context,
	id int32,
) error

func (*TvInputSessionProxy) RemoveOverlayView

func (p *TvInputSessionProxy) RemoveOverlayView(
	ctx context.Context,
) error

func (*TvInputSessionProxy) RequestAd

func (p *TvInputSessionProxy) RequestAd(
	ctx context.Context,
	request AdRequest,
) error

func (*TvInputSessionProxy) RequestBroadcastInfo

func (p *TvInputSessionProxy) RequestBroadcastInfo(
	ctx context.Context,
	request BroadcastInfoRequest,
) error

func (*TvInputSessionProxy) ResumePlayback

func (p *TvInputSessionProxy) ResumePlayback(
	ctx context.Context,
) error

func (*TvInputSessionProxy) ResumeRecording

func (p *TvInputSessionProxy) ResumeRecording(
	ctx context.Context,
	params os.Bundle,
) error

func (*TvInputSessionProxy) SelectAudioPresentation

func (p *TvInputSessionProxy) SelectAudioPresentation(
	ctx context.Context,
	presentationId int32,
	programId int32,
) error

func (*TvInputSessionProxy) SelectTrack

func (p *TvInputSessionProxy) SelectTrack(
	ctx context.Context,
	type_ int32,
	trackId string,
) error

func (*TvInputSessionProxy) SetCaptionEnabled

func (p *TvInputSessionProxy) SetCaptionEnabled(
	ctx context.Context,
	enabled bool,
) error

func (*TvInputSessionProxy) SetInteractiveAppNotificationEnabled

func (p *TvInputSessionProxy) SetInteractiveAppNotificationEnabled(
	ctx context.Context,
	enable bool,
) error

func (*TvInputSessionProxy) SetMain

func (p *TvInputSessionProxy) SetMain(
	ctx context.Context,
	isMain bool,
) error

func (*TvInputSessionProxy) SetSurface

func (p *TvInputSessionProxy) SetSurface(
	ctx context.Context,
	surface view.Surface,
) error

func (*TvInputSessionProxy) SetTvMessageEnabled

func (p *TvInputSessionProxy) SetTvMessageEnabled(
	ctx context.Context,
	type_ int32,
	enabled bool,
) error

func (*TvInputSessionProxy) SetVideoFrozen

func (p *TvInputSessionProxy) SetVideoFrozen(
	ctx context.Context,
	isFrozen bool,
) error

func (*TvInputSessionProxy) SetVolume

func (p *TvInputSessionProxy) SetVolume(
	ctx context.Context,
	volume float32,
) error

func (*TvInputSessionProxy) StartRecording

func (p *TvInputSessionProxy) StartRecording(
	ctx context.Context,
	programUri net.Uri,
	params os.Bundle,
) error

func (*TvInputSessionProxy) StopPlayback

func (p *TvInputSessionProxy) StopPlayback(
	ctx context.Context,
	mode int32,
) error

func (*TvInputSessionProxy) StopRecording

func (p *TvInputSessionProxy) StopRecording(
	ctx context.Context,
) error

func (*TvInputSessionProxy) TimeShiftEnablePositionTracking

func (p *TvInputSessionProxy) TimeShiftEnablePositionTracking(
	ctx context.Context,
	enable bool,
) error

func (*TvInputSessionProxy) TimeShiftPause

func (p *TvInputSessionProxy) TimeShiftPause(
	ctx context.Context,
) error

func (*TvInputSessionProxy) TimeShiftPlay

func (p *TvInputSessionProxy) TimeShiftPlay(
	ctx context.Context,
	recordedProgramUri net.Uri,
) error

func (*TvInputSessionProxy) TimeShiftResume

func (p *TvInputSessionProxy) TimeShiftResume(
	ctx context.Context,
) error

func (*TvInputSessionProxy) TimeShiftSeekTo

func (p *TvInputSessionProxy) TimeShiftSeekTo(
	ctx context.Context,
	timeMs int64,
) error

func (*TvInputSessionProxy) TimeShiftSetMode

func (p *TvInputSessionProxy) TimeShiftSetMode(
	ctx context.Context,
	mode int32,
) error

func (*TvInputSessionProxy) TimeShiftSetPlaybackParams

func (p *TvInputSessionProxy) TimeShiftSetPlaybackParams(
	ctx context.Context,
	params media.PlaybackParams,
) error

func (*TvInputSessionProxy) Tune

func (p *TvInputSessionProxy) Tune(
	ctx context.Context,
	channelUri net.Uri,
	params os.Bundle,
) error

func (*TvInputSessionProxy) UnblockContent

func (p *TvInputSessionProxy) UnblockContent(
	ctx context.Context,
	unblockedRating string,
) error

type TvInputSessionStub

type TvInputSessionStub struct {
	Impl      ITvInputSession
	Transport binder.VersionAwareTransport
}

TvInputSessionStub dispatches incoming binder transactions to a typed ITvInputSession implementation.

func (*TvInputSessionStub) Descriptor

func (s *TvInputSessionStub) Descriptor() string

func (*TvInputSessionStub) OnTransaction

func (s *TvInputSessionStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type TvRecordingInfo

type TvRecordingInfo struct {
	RecordingId              string
	StartPaddingMillis       int64
	EndPaddingMillis         int64
	RepeatDays               int32
	Name                     string
	Description              string
	ScheduledStartTimeMillis int64
	ScheduledDurationMillis  int64
	RecordingDurationMillis  int64
	RecordingStartTimeMillis int64
}

func (*TvRecordingInfo) MarshalParcel

func (s *TvRecordingInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*TvRecordingInfo) UnmarshalParcel

func (s *TvRecordingInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type TvRemoteProviderProxy

type TvRemoteProviderProxy struct {
	Remote binder.IBinder
}

func NewTvRemoteProviderProxy

func NewTvRemoteProviderProxy(
	remote binder.IBinder,
) *TvRemoteProviderProxy

func (*TvRemoteProviderProxy) AsBinder

func (p *TvRemoteProviderProxy) AsBinder() binder.IBinder

func (*TvRemoteProviderProxy) OnInputBridgeConnected

func (p *TvRemoteProviderProxy) OnInputBridgeConnected(
	ctx context.Context,
	token binder.IBinder,
) error

func (*TvRemoteProviderProxy) SetRemoteServiceInputSink

func (p *TvRemoteProviderProxy) SetRemoteServiceInputSink(
	ctx context.Context,
	tvServiceInput ITvRemoteServiceInput,
) error

type TvRemoteProviderStub

type TvRemoteProviderStub struct {
	Impl      ITvRemoteProvider
	Transport binder.VersionAwareTransport
}

TvRemoteProviderStub dispatches incoming binder transactions to a typed ITvRemoteProvider implementation.

func (*TvRemoteProviderStub) Descriptor

func (s *TvRemoteProviderStub) Descriptor() string

func (*TvRemoteProviderStub) OnTransaction

func (s *TvRemoteProviderStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type TvRemoteServiceInputProxy

type TvRemoteServiceInputProxy struct {
	Remote binder.IBinder
}

func NewTvRemoteServiceInputProxy

func NewTvRemoteServiceInputProxy(
	remote binder.IBinder,
) *TvRemoteServiceInputProxy

func (*TvRemoteServiceInputProxy) AsBinder

func (*TvRemoteServiceInputProxy) ClearInputBridge

func (p *TvRemoteServiceInputProxy) ClearInputBridge(
	ctx context.Context,
	token binder.IBinder,
) error

func (*TvRemoteServiceInputProxy) CloseInputBridge

func (p *TvRemoteServiceInputProxy) CloseInputBridge(
	ctx context.Context,
	token binder.IBinder,
) error

func (*TvRemoteServiceInputProxy) OpenGamepadBridge

func (p *TvRemoteServiceInputProxy) OpenGamepadBridge(
	ctx context.Context,
	token binder.IBinder,
	name string,
) error

func (*TvRemoteServiceInputProxy) OpenInputBridge

func (p *TvRemoteServiceInputProxy) OpenInputBridge(
	ctx context.Context,
	token binder.IBinder,
	name string,
	width int32,
	height int32,
	maxPointers int32,
) error

func (*TvRemoteServiceInputProxy) SendGamepadAxisValue

func (p *TvRemoteServiceInputProxy) SendGamepadAxisValue(
	ctx context.Context,
	token binder.IBinder,
	axis int32,
	value float32,
) error

func (*TvRemoteServiceInputProxy) SendGamepadKeyDown

func (p *TvRemoteServiceInputProxy) SendGamepadKeyDown(
	ctx context.Context,
	token binder.IBinder,
	keyCode int32,
) error

func (*TvRemoteServiceInputProxy) SendGamepadKeyUp

func (p *TvRemoteServiceInputProxy) SendGamepadKeyUp(
	ctx context.Context,
	token binder.IBinder,
	keyCode int32,
) error

func (*TvRemoteServiceInputProxy) SendKeyDown

func (p *TvRemoteServiceInputProxy) SendKeyDown(
	ctx context.Context,
	token binder.IBinder,
	keyCode int32,
) error

func (*TvRemoteServiceInputProxy) SendKeyUp

func (p *TvRemoteServiceInputProxy) SendKeyUp(
	ctx context.Context,
	token binder.IBinder,
	keyCode int32,
) error

func (*TvRemoteServiceInputProxy) SendPointerDown

func (p *TvRemoteServiceInputProxy) SendPointerDown(
	ctx context.Context,
	token binder.IBinder,
	pointerId int32,
	x int32,
	y int32,
) error

func (*TvRemoteServiceInputProxy) SendPointerSync

func (p *TvRemoteServiceInputProxy) SendPointerSync(
	ctx context.Context,
	token binder.IBinder,
) error

func (*TvRemoteServiceInputProxy) SendPointerUp

func (p *TvRemoteServiceInputProxy) SendPointerUp(
	ctx context.Context,
	token binder.IBinder,
	pointerId int32,
) error

func (*TvRemoteServiceInputProxy) SendTimestamp

func (p *TvRemoteServiceInputProxy) SendTimestamp(
	ctx context.Context,
	token binder.IBinder,
	timestamp int64,
) error

type TvRemoteServiceInputStub

type TvRemoteServiceInputStub struct {
	Impl      ITvRemoteServiceInput
	Transport binder.VersionAwareTransport
}

TvRemoteServiceInputStub dispatches incoming binder transactions to a typed ITvRemoteServiceInput implementation.

func (*TvRemoteServiceInputStub) Descriptor

func (s *TvRemoteServiceInputStub) Descriptor() string

func (*TvRemoteServiceInputStub) OnTransaction

func (s *TvRemoteServiceInputStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type TvStreamConfig

type TvStreamConfig struct {
	StreamId   int32
	Type       int32
	MaxWidth   int32
	MaxHeight  int32
	Generation int32
}

func (*TvStreamConfig) MarshalParcel

func (s *TvStreamConfig) MarshalParcel(
	p *parcel.Parcel,
) error

func (*TvStreamConfig) UnmarshalParcel

func (s *TvStreamConfig) UnmarshalParcel(
	p *parcel.Parcel,
) error

type TvTrackInfo

type TvTrackInfo struct {
	Type                         int32
	Id                           string
	Language                     string
	Encoding                     string
	AudioChannelCount            int32
	AudioSampleRate              int32
	VideoWidth                   int32
	VideoHeight                  int32
	VideoFrameRate               float32
	VideoPixelAspectRatio        float32
	VideoActiveFormatDescription int32
}

func (*TvTrackInfo) MarshalParcel

func (s *TvTrackInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*TvTrackInfo) UnmarshalParcel

func (s *TvTrackInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL