Documentation
¶
Index ¶
- Constants
- type AppLinkInfo
- type ITvInteractiveAppClient
- type ITvInteractiveAppClientServer
- type ITvInteractiveAppManager
- type ITvInteractiveAppManagerCallback
- type ITvInteractiveAppManagerCallbackServer
- type ITvInteractiveAppManagerServer
- type ITvInteractiveAppService
- type ITvInteractiveAppServiceCallback
- type ITvInteractiveAppServiceCallbackServer
- type ITvInteractiveAppServiceServer
- type ITvInteractiveAppSession
- type ITvInteractiveAppSessionCallback
- type ITvInteractiveAppSessionCallbackServer
- type ITvInteractiveAppSessionServer
- type TvInteractiveAppClientProxy
- func (p *TvInteractiveAppClientProxy) AsBinder() binder.IBinder
- func (p *TvInteractiveAppClientProxy) OnAdBufferReady(ctx context.Context, buffer tv.AdBuffer, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnAdRequest(ctx context.Context, request tv.AdRequest, Seq int32) error
- func (p *TvInteractiveAppClientProxy) OnBiInteractiveAppCreated(ctx context.Context, biIAppUri net.Uri, biIAppId string, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnBroadcastInfoRequest(ctx context.Context, request tv.BroadcastInfoRequest, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnCommandRequest(ctx context.Context, cmdType string, parameters os.Bundle, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnLayoutSurface(ctx context.Context, left int32, top int32, right int32, bottom int32, ...) error
- func (p *TvInteractiveAppClientProxy) OnRemoveBroadcastInfo(ctx context.Context, id int32, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnRequestAvailableSpeeds(ctx context.Context, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnRequestCertificate(ctx context.Context, host string, port int32, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnRequestCurrentChannelLcn(ctx context.Context, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnRequestCurrentChannelUri(ctx context.Context, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnRequestCurrentTvInputId(ctx context.Context, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnRequestCurrentVideoBounds(ctx context.Context, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnRequestScheduleRecording(ctx context.Context, requestId string, inputId string, channelUri net.Uri, ...) error
- func (p *TvInteractiveAppClientProxy) OnRequestScheduleRecording2(ctx context.Context, requestId string, inputId string, channelUri net.Uri, ...) error
- func (p *TvInteractiveAppClientProxy) OnRequestSelectedTrackInfo(ctx context.Context, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnRequestSigning(ctx context.Context, id string, algorithm string, alias string, data []byte, ...) error
- func (p *TvInteractiveAppClientProxy) OnRequestSigning2(ctx context.Context, id string, algorithm string, host string, port int32, ...) error
- func (p *TvInteractiveAppClientProxy) OnRequestStartRecording(ctx context.Context, requestId string, programUri net.Uri, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnRequestStopRecording(ctx context.Context, recordingId string, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnRequestStreamVolume(ctx context.Context, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnRequestTimeShiftMode(ctx context.Context, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnRequestTrackInfoList(ctx context.Context, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnRequestTvRecordingInfo(ctx context.Context, recordingId string, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnRequestTvRecordingInfoList(ctx context.Context, type_ int32, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnSessionCreated(ctx context.Context, iAppServiceId string, token binder.IBinder, ...) error
- func (p *TvInteractiveAppClientProxy) OnSessionReleased(ctx context.Context, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnSessionStateChanged(ctx context.Context, state int32, err int32, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnSetTvRecordingInfo(ctx context.Context, recordingId string, recordingInfo tv.TvRecordingInfo, ...) error
- func (p *TvInteractiveAppClientProxy) OnSetVideoBounds(ctx context.Context, rect graphics.Rect, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnTeletextAppStateChanged(ctx context.Context, state int32, seq int32) error
- func (p *TvInteractiveAppClientProxy) OnTimeShiftCommandRequest(ctx context.Context, cmdType string, parameters os.Bundle, seq int32) error
- type TvInteractiveAppClientStub
- type TvInteractiveAppManagerCallbackProxy
- func (p *TvInteractiveAppManagerCallbackProxy) AsBinder() binder.IBinder
- func (p *TvInteractiveAppManagerCallbackProxy) OnInteractiveAppServiceAdded(ctx context.Context, iAppServiceId string) error
- func (p *TvInteractiveAppManagerCallbackProxy) OnInteractiveAppServiceRemoved(ctx context.Context, iAppServiceId string) error
- func (p *TvInteractiveAppManagerCallbackProxy) OnInteractiveAppServiceUpdated(ctx context.Context, iAppServiceId string) error
- func (p *TvInteractiveAppManagerCallbackProxy) OnStateChanged(ctx context.Context, iAppServiceId string, type_ int32, state int32, err int32) error
- func (p *TvInteractiveAppManagerCallbackProxy) OnTvInteractiveAppServiceInfoUpdated(ctx context.Context, tvIAppInfo TvInteractiveAppServiceInfo) error
- type TvInteractiveAppManagerCallbackStub
- type TvInteractiveAppManagerProxy
- func (p *TvInteractiveAppManagerProxy) AsBinder() binder.IBinder
- func (p *TvInteractiveAppManagerProxy) CreateBiInteractiveApp(ctx context.Context, sessionToken binder.IBinder, biIAppUri net.Uri, ...) error
- func (p *TvInteractiveAppManagerProxy) CreateMediaView(ctx context.Context, sessionToken binder.IBinder, windowToken binder.IBinder, ...) error
- func (p *TvInteractiveAppManagerProxy) CreateSession(ctx context.Context, client ITvInteractiveAppClient, iAppServiceId string, ...) error
- func (p *TvInteractiveAppManagerProxy) DestroyBiInteractiveApp(ctx context.Context, sessionToken binder.IBinder, biIAppId string) error
- func (p *TvInteractiveAppManagerProxy) DispatchSurfaceChanged(ctx context.Context, sessionToken binder.IBinder, format int32, width int32, ...) error
- func (p *TvInteractiveAppManagerProxy) GetAppLinkInfoList(ctx context.Context) ([]AppLinkInfo, error)
- func (p *TvInteractiveAppManagerProxy) GetTvInteractiveAppServiceList(ctx context.Context) ([]TvInteractiveAppServiceInfo, error)
- func (p *TvInteractiveAppManagerProxy) NotifyAdBufferConsumed(ctx context.Context, sessionToken binder.IBinder, buffer tv.AdBuffer) error
- func (p *TvInteractiveAppManagerProxy) NotifyAdResponse(ctx context.Context, sessionToken binder.IBinder, response tv.AdResponse, ...) error
- func (p *TvInteractiveAppManagerProxy) NotifyBroadcastInfoResponse(ctx context.Context, sessionToken binder.IBinder, ...) error
- func (p *TvInteractiveAppManagerProxy) NotifyContentAllowed(ctx context.Context, sessionToken binder.IBinder) error
- func (p *TvInteractiveAppManagerProxy) NotifyContentBlocked(ctx context.Context, sessionToken binder.IBinder, rating string) error
- func (p *TvInteractiveAppManagerProxy) NotifyError(ctx context.Context, sessionToken binder.IBinder, errMsg string, ...) error
- func (p *TvInteractiveAppManagerProxy) NotifyRecordingConnectionFailed(ctx context.Context, sessionToken binder.IBinder, recordingId string, ...) error
- func (p *TvInteractiveAppManagerProxy) NotifyRecordingDisconnected(ctx context.Context, sessionToken binder.IBinder, recordingId string, ...) error
- func (p *TvInteractiveAppManagerProxy) NotifyRecordingError(ctx context.Context, sessionToken binder.IBinder, recordingId string, ...) error
- func (p *TvInteractiveAppManagerProxy) NotifyRecordingScheduled(ctx context.Context, sessionToken binder.IBinder, recordingId string, ...) error
- func (p *TvInteractiveAppManagerProxy) NotifyRecordingStarted(ctx context.Context, sessionToken binder.IBinder, recordingId string, ...) error
- func (p *TvInteractiveAppManagerProxy) NotifyRecordingStopped(ctx context.Context, sessionToken binder.IBinder, recordingId string) error
- func (p *TvInteractiveAppManagerProxy) NotifyRecordingTuned(ctx context.Context, sessionToken binder.IBinder, recordingId string, ...) error
- func (p *TvInteractiveAppManagerProxy) NotifySignalStrength(ctx context.Context, sessionToken binder.IBinder, stength int32) error
- func (p *TvInteractiveAppManagerProxy) NotifyTimeShiftCurrentPositionChanged(ctx context.Context, sessionToken binder.IBinder, inputId string, timeMs int64) error
- func (p *TvInteractiveAppManagerProxy) NotifyTimeShiftPlaybackParams(ctx context.Context, sessionToken binder.IBinder, params media.PlaybackParams) error
- func (p *TvInteractiveAppManagerProxy) NotifyTimeShiftStartPositionChanged(ctx context.Context, sessionToken binder.IBinder, inputId string, timeMs int64) error
- func (p *TvInteractiveAppManagerProxy) NotifyTimeShiftStatusChanged(ctx context.Context, sessionToken binder.IBinder, inputId string, status int32) error
- func (p *TvInteractiveAppManagerProxy) NotifyTrackSelected(ctx context.Context, sessionToken binder.IBinder, type_ int32, trackId string) error
- func (p *TvInteractiveAppManagerProxy) NotifyTracksChanged(ctx context.Context, sessionToken binder.IBinder, tracks []tv.TvTrackInfo) error
- func (p *TvInteractiveAppManagerProxy) NotifyTuned(ctx context.Context, sessionToken binder.IBinder, channelUri net.Uri) error
- func (p *TvInteractiveAppManagerProxy) NotifyTvMessage(ctx context.Context, sessionToken binder.IBinder, type_ int32, data os.Bundle) error
- func (p *TvInteractiveAppManagerProxy) NotifyVideoAvailable(ctx context.Context, sessionToken binder.IBinder) error
- func (p *TvInteractiveAppManagerProxy) NotifyVideoFreezeUpdated(ctx context.Context, sessionToken binder.IBinder, isFrozen bool) error
- func (p *TvInteractiveAppManagerProxy) NotifyVideoUnavailable(ctx context.Context, sessionToken binder.IBinder, reason int32) error
- func (p *TvInteractiveAppManagerProxy) RegisterAppLinkInfo(ctx context.Context, tiasId string, info AppLinkInfo) error
- func (p *TvInteractiveAppManagerProxy) RegisterCallback(ctx context.Context, callback ITvInteractiveAppManagerCallback) error
- func (p *TvInteractiveAppManagerProxy) RelayoutMediaView(ctx context.Context, sessionToken binder.IBinder, frame graphics.Rect) error
- func (p *TvInteractiveAppManagerProxy) ReleaseSession(ctx context.Context, sessionToken binder.IBinder) error
- func (p *TvInteractiveAppManagerProxy) RemoveMediaView(ctx context.Context, sessionToken binder.IBinder) error
- func (p *TvInteractiveAppManagerProxy) ResetInteractiveApp(ctx context.Context, sessionToken binder.IBinder) error
- func (p *TvInteractiveAppManagerProxy) SendAppLinkCommand(ctx context.Context, tiasId string, command os.Bundle) error
- func (p *TvInteractiveAppManagerProxy) SendAvailableSpeeds(ctx context.Context, sessionToken binder.IBinder, speeds []float32) error
- func (p *TvInteractiveAppManagerProxy) SendCertificate(ctx context.Context, sessionToken binder.IBinder, host string, port int32, ...) error
- func (p *TvInteractiveAppManagerProxy) SendCurrentChannelLcn(ctx context.Context, sessionToken binder.IBinder, lcn int32) error
- func (p *TvInteractiveAppManagerProxy) SendCurrentChannelUri(ctx context.Context, sessionToken binder.IBinder, channelUri net.Uri) error
- func (p *TvInteractiveAppManagerProxy) SendCurrentTvInputId(ctx context.Context, sessionToken binder.IBinder, inputId string) error
- func (p *TvInteractiveAppManagerProxy) SendCurrentVideoBounds(ctx context.Context, sessionToken binder.IBinder, bounds graphics.Rect) error
- func (p *TvInteractiveAppManagerProxy) SendSelectedTrackInfo(ctx context.Context, sessionToken binder.IBinder, tracks []tv.TvTrackInfo) error
- func (p *TvInteractiveAppManagerProxy) SendSigningResult(ctx context.Context, sessionToken binder.IBinder, signingId string, ...) error
- func (p *TvInteractiveAppManagerProxy) SendStreamVolume(ctx context.Context, sessionToken binder.IBinder, volume float32) error
- func (p *TvInteractiveAppManagerProxy) SendTimeShiftMode(ctx context.Context, sessionToken binder.IBinder, mode int32) error
- func (p *TvInteractiveAppManagerProxy) SendTrackInfoList(ctx context.Context, sessionToken binder.IBinder, tracks []tv.TvTrackInfo) error
- func (p *TvInteractiveAppManagerProxy) SendTvRecordingInfo(ctx context.Context, sessionToken binder.IBinder, ...) error
- func (p *TvInteractiveAppManagerProxy) SendTvRecordingInfoList(ctx context.Context, sessionToken binder.IBinder, ...) error
- func (p *TvInteractiveAppManagerProxy) SetSurface(ctx context.Context, sessionToken binder.IBinder, surface view.Surface) error
- func (p *TvInteractiveAppManagerProxy) SetTeletextAppEnabled(ctx context.Context, sessionToken binder.IBinder, enable bool) error
- func (p *TvInteractiveAppManagerProxy) StartInteractiveApp(ctx context.Context, sessionToken binder.IBinder) error
- func (p *TvInteractiveAppManagerProxy) StopInteractiveApp(ctx context.Context, sessionToken binder.IBinder) error
- func (p *TvInteractiveAppManagerProxy) UnregisterAppLinkInfo(ctx context.Context, tiasId string, info AppLinkInfo) error
- func (p *TvInteractiveAppManagerProxy) UnregisterCallback(ctx context.Context, callback ITvInteractiveAppManagerCallback) error
- type TvInteractiveAppManagerStub
- type TvInteractiveAppServiceCallbackProxy
- type TvInteractiveAppServiceCallbackStub
- type TvInteractiveAppServiceInfo
- type TvInteractiveAppServiceProxy
- func (p *TvInteractiveAppServiceProxy) AsBinder() binder.IBinder
- func (p *TvInteractiveAppServiceProxy) CreateSession(ctx context.Context, channel view.InputChannel, ...) error
- func (p *TvInteractiveAppServiceProxy) RegisterAppLinkInfo(ctx context.Context, info AppLinkInfo) error
- func (p *TvInteractiveAppServiceProxy) RegisterCallback(ctx context.Context, callback ITvInteractiveAppServiceCallback) error
- func (p *TvInteractiveAppServiceProxy) SendAppLinkCommand(ctx context.Context, command os.Bundle) error
- func (p *TvInteractiveAppServiceProxy) UnregisterAppLinkInfo(ctx context.Context, info AppLinkInfo) error
- func (p *TvInteractiveAppServiceProxy) UnregisterCallback(ctx context.Context, callback ITvInteractiveAppServiceCallback) error
- type TvInteractiveAppServiceStub
- type TvInteractiveAppSessionCallbackProxy
- func (p *TvInteractiveAppSessionCallbackProxy) AsBinder() binder.IBinder
- func (p *TvInteractiveAppSessionCallbackProxy) OnAdBufferReady(ctx context.Context, buffer tv.AdBuffer) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnAdRequest(ctx context.Context, request tv.AdRequest) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnBiInteractiveAppCreated(ctx context.Context, biIAppUri net.Uri, biIAppId string) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnBroadcastInfoRequest(ctx context.Context, request tv.BroadcastInfoRequest) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnCommandRequest(ctx context.Context, cmdType string, parameters os.Bundle) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnLayoutSurface(ctx context.Context, left int32, top int32, right int32, bottom int32) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRemoveBroadcastInfo(ctx context.Context, id int32) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestAvailableSpeeds(ctx context.Context) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestCertificate(ctx context.Context, host string, port int32) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestCurrentChannelLcn(ctx context.Context) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestCurrentChannelUri(ctx context.Context) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestCurrentTvInputId(ctx context.Context) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestCurrentVideoBounds(ctx context.Context) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestScheduleRecording(ctx context.Context, requestId string, inputId string, channelUri net.Uri, ...) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestScheduleRecording2(ctx context.Context, requestId string, inputId string, channelUri net.Uri, ...) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestSelectedTrackInfo(ctx context.Context) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestSigning(ctx context.Context, id string, algorithm string, alias string, data []byte) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestSigning2(ctx context.Context, id string, algorithm string, host string, port int32, ...) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestStartRecording(ctx context.Context, requestId string, programUri net.Uri) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestStopRecording(ctx context.Context, recordingId string) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestStreamVolume(ctx context.Context) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestTimeShiftMode(ctx context.Context) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestTrackInfoList(ctx context.Context) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestTvRecordingInfo(ctx context.Context, recordingId string) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnRequestTvRecordingInfoList(ctx context.Context, type_ int32) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnSessionCreated(ctx context.Context, session ITvInteractiveAppSession) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnSessionStateChanged(ctx context.Context, state int32, err int32) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnSetTvRecordingInfo(ctx context.Context, recordingId string, recordingInfo tv.TvRecordingInfo) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnSetVideoBounds(ctx context.Context, rect graphics.Rect) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnTeletextAppStateChanged(ctx context.Context, state int32) error
- func (p *TvInteractiveAppSessionCallbackProxy) OnTimeShiftCommandRequest(ctx context.Context, cmdType string, parameters os.Bundle) error
- type TvInteractiveAppSessionCallbackStub
- type TvInteractiveAppSessionProxy
- func (p *TvInteractiveAppSessionProxy) AsBinder() binder.IBinder
- func (p *TvInteractiveAppSessionProxy) CreateBiInteractiveApp(ctx context.Context, biIAppUri net.Uri, params os.Bundle) error
- func (p *TvInteractiveAppSessionProxy) CreateMediaView(ctx context.Context, windowToken binder.IBinder, frame graphics.Rect) error
- func (p *TvInteractiveAppSessionProxy) DestroyBiInteractiveApp(ctx context.Context, biIAppId string) error
- func (p *TvInteractiveAppSessionProxy) DispatchSurfaceChanged(ctx context.Context, format int32, width int32, height int32) error
- func (p *TvInteractiveAppSessionProxy) NotifyAdBufferConsumed(ctx context.Context, buffer tv.AdBuffer) error
- func (p *TvInteractiveAppSessionProxy) NotifyAdResponse(ctx context.Context, response tv.AdResponse) error
- func (p *TvInteractiveAppSessionProxy) NotifyBroadcastInfoResponse(ctx context.Context, response tv.BroadcastInfoResponse) error
- func (p *TvInteractiveAppSessionProxy) NotifyContentAllowed(ctx context.Context) error
- func (p *TvInteractiveAppSessionProxy) NotifyContentBlocked(ctx context.Context, rating string) error
- func (p *TvInteractiveAppSessionProxy) NotifyError(ctx context.Context, errMsg string, params os.Bundle) error
- func (p *TvInteractiveAppSessionProxy) NotifyRecordingConnectionFailed(ctx context.Context, recordingId string, inputId string) error
- func (p *TvInteractiveAppSessionProxy) NotifyRecordingDisconnected(ctx context.Context, recordingId string, inputId string) error
- func (p *TvInteractiveAppSessionProxy) NotifyRecordingError(ctx context.Context, recordingId string, err int32) error
- func (p *TvInteractiveAppSessionProxy) NotifyRecordingScheduled(ctx context.Context, recordingId string, requestId string) error
- func (p *TvInteractiveAppSessionProxy) NotifyRecordingStarted(ctx context.Context, recordingId string, requestId string) error
- func (p *TvInteractiveAppSessionProxy) NotifyRecordingStopped(ctx context.Context, recordingId string) error
- func (p *TvInteractiveAppSessionProxy) NotifyRecordingTuned(ctx context.Context, recordingId string, channelUri net.Uri) error
- func (p *TvInteractiveAppSessionProxy) NotifySignalStrength(ctx context.Context, strength int32) error
- func (p *TvInteractiveAppSessionProxy) NotifyTimeShiftCurrentPositionChanged(ctx context.Context, inputId string, timeMs int64) error
- func (p *TvInteractiveAppSessionProxy) NotifyTimeShiftPlaybackParams(ctx context.Context, params media.PlaybackParams) error
- func (p *TvInteractiveAppSessionProxy) NotifyTimeShiftStartPositionChanged(ctx context.Context, inputId string, timeMs int64) error
- func (p *TvInteractiveAppSessionProxy) NotifyTimeShiftStatusChanged(ctx context.Context, inputId string, status int32) error
- func (p *TvInteractiveAppSessionProxy) NotifyTrackSelected(ctx context.Context, type_ int32, trackId string) error
- func (p *TvInteractiveAppSessionProxy) NotifyTracksChanged(ctx context.Context, tracks []tv.TvTrackInfo) error
- func (p *TvInteractiveAppSessionProxy) NotifyTuned(ctx context.Context, channelUri net.Uri) error
- func (p *TvInteractiveAppSessionProxy) NotifyTvMessage(ctx context.Context, type_ int32, data os.Bundle) error
- func (p *TvInteractiveAppSessionProxy) NotifyVideoAvailable(ctx context.Context) error
- func (p *TvInteractiveAppSessionProxy) NotifyVideoFreezeUpdated(ctx context.Context, isFrozen bool) error
- func (p *TvInteractiveAppSessionProxy) NotifyVideoUnavailable(ctx context.Context, reason int32) error
- func (p *TvInteractiveAppSessionProxy) RelayoutMediaView(ctx context.Context, frame graphics.Rect) error
- func (p *TvInteractiveAppSessionProxy) Release(ctx context.Context) error
- func (p *TvInteractiveAppSessionProxy) RemoveMediaView(ctx context.Context) error
- func (p *TvInteractiveAppSessionProxy) ResetInteractiveApp(ctx context.Context) error
- func (p *TvInteractiveAppSessionProxy) SendAvailableSpeeds(ctx context.Context, speeds []float32) error
- func (p *TvInteractiveAppSessionProxy) SendCertificate(ctx context.Context, host string, port int32, certBundle os.Bundle) error
- func (p *TvInteractiveAppSessionProxy) SendCurrentChannelLcn(ctx context.Context, lcn int32) error
- func (p *TvInteractiveAppSessionProxy) SendCurrentChannelUri(ctx context.Context, channelUri net.Uri) error
- func (p *TvInteractiveAppSessionProxy) SendCurrentTvInputId(ctx context.Context, inputId string) error
- func (p *TvInteractiveAppSessionProxy) SendCurrentVideoBounds(ctx context.Context, bounds graphics.Rect) error
- func (p *TvInteractiveAppSessionProxy) SendSelectedTrackInfo(ctx context.Context, tracks []tv.TvTrackInfo) error
- func (p *TvInteractiveAppSessionProxy) SendSigningResult(ctx context.Context, signingId string, result []byte) error
- func (p *TvInteractiveAppSessionProxy) SendStreamVolume(ctx context.Context, volume float32) error
- func (p *TvInteractiveAppSessionProxy) SendTimeShiftMode(ctx context.Context, mode int32) error
- func (p *TvInteractiveAppSessionProxy) SendTrackInfoList(ctx context.Context, tracks []tv.TvTrackInfo) error
- func (p *TvInteractiveAppSessionProxy) SendTvRecordingInfo(ctx context.Context, recordingInfo tv.TvRecordingInfo) error
- func (p *TvInteractiveAppSessionProxy) SendTvRecordingInfoList(ctx context.Context, recordingInfoList []tv.TvRecordingInfo) error
- func (p *TvInteractiveAppSessionProxy) SetSurface(ctx context.Context, surface view.Surface) error
- func (p *TvInteractiveAppSessionProxy) SetTeletextAppEnabled(ctx context.Context, enable bool) error
- func (p *TvInteractiveAppSessionProxy) StartInteractiveApp(ctx context.Context) error
- func (p *TvInteractiveAppSessionProxy) StopInteractiveApp(ctx context.Context) error
- type TvInteractiveAppSessionStub
Constants ¶
const ( TransactionITvInteractiveAppClientOnSessionCreated = binder.FirstCallTransaction + 0 TransactionITvInteractiveAppClientOnSessionReleased = binder.FirstCallTransaction + 1 TransactionITvInteractiveAppClientOnLayoutSurface = binder.FirstCallTransaction + 2 TransactionITvInteractiveAppClientOnBroadcastInfoRequest = binder.FirstCallTransaction + 3 TransactionITvInteractiveAppClientOnRemoveBroadcastInfo = binder.FirstCallTransaction + 4 TransactionITvInteractiveAppClientOnSessionStateChanged = binder.FirstCallTransaction + 5 TransactionITvInteractiveAppClientOnBiInteractiveAppCreated = binder.FirstCallTransaction + 6 TransactionITvInteractiveAppClientOnTeletextAppStateChanged = binder.FirstCallTransaction + 7 TransactionITvInteractiveAppClientOnAdBufferReady = binder.FirstCallTransaction + 8 TransactionITvInteractiveAppClientOnCommandRequest = binder.FirstCallTransaction + 9 TransactionITvInteractiveAppClientOnTimeShiftCommandRequest = binder.FirstCallTransaction + 10 TransactionITvInteractiveAppClientOnSetVideoBounds = binder.FirstCallTransaction + 11 TransactionITvInteractiveAppClientOnRequestCurrentVideoBounds = binder.FirstCallTransaction + 12 TransactionITvInteractiveAppClientOnRequestCurrentChannelUri = binder.FirstCallTransaction + 13 TransactionITvInteractiveAppClientOnRequestCurrentChannelLcn = binder.FirstCallTransaction + 14 TransactionITvInteractiveAppClientOnRequestStreamVolume = binder.FirstCallTransaction + 15 TransactionITvInteractiveAppClientOnRequestTrackInfoList = binder.FirstCallTransaction + 16 TransactionITvInteractiveAppClientOnRequestSelectedTrackInfo = binder.FirstCallTransaction + 17 TransactionITvInteractiveAppClientOnRequestCurrentTvInputId = binder.FirstCallTransaction + 18 TransactionITvInteractiveAppClientOnRequestTimeShiftMode = binder.FirstCallTransaction + 19 TransactionITvInteractiveAppClientOnRequestAvailableSpeeds = binder.FirstCallTransaction + 20 TransactionITvInteractiveAppClientOnRequestStartRecording = binder.FirstCallTransaction + 21 TransactionITvInteractiveAppClientOnRequestStopRecording = binder.FirstCallTransaction + 22 TransactionITvInteractiveAppClientOnRequestScheduleRecording = binder.FirstCallTransaction + 23 TransactionITvInteractiveAppClientOnRequestScheduleRecording2 = binder.FirstCallTransaction + 24 TransactionITvInteractiveAppClientOnSetTvRecordingInfo = binder.FirstCallTransaction + 25 TransactionITvInteractiveAppClientOnRequestTvRecordingInfo = binder.FirstCallTransaction + 26 TransactionITvInteractiveAppClientOnRequestTvRecordingInfoList = binder.FirstCallTransaction + 27 TransactionITvInteractiveAppClientOnRequestSigning = binder.FirstCallTransaction + 28 TransactionITvInteractiveAppClientOnRequestSigning2 = binder.FirstCallTransaction + 29 TransactionITvInteractiveAppClientOnRequestCertificate = binder.FirstCallTransaction + 30 TransactionITvInteractiveAppClientOnAdRequest = binder.FirstCallTransaction + 31 )
const ( MethodITvInteractiveAppClientOnSessionCreated = "onSessionCreated" MethodITvInteractiveAppClientOnSessionReleased = "onSessionReleased" MethodITvInteractiveAppClientOnLayoutSurface = "onLayoutSurface" MethodITvInteractiveAppClientOnBroadcastInfoRequest = "onBroadcastInfoRequest" MethodITvInteractiveAppClientOnRemoveBroadcastInfo = "onRemoveBroadcastInfo" MethodITvInteractiveAppClientOnSessionStateChanged = "onSessionStateChanged" MethodITvInteractiveAppClientOnBiInteractiveAppCreated = "onBiInteractiveAppCreated" MethodITvInteractiveAppClientOnTeletextAppStateChanged = "onTeletextAppStateChanged" MethodITvInteractiveAppClientOnAdBufferReady = "onAdBufferReady" MethodITvInteractiveAppClientOnCommandRequest = "onCommandRequest" MethodITvInteractiveAppClientOnTimeShiftCommandRequest = "onTimeShiftCommandRequest" MethodITvInteractiveAppClientOnSetVideoBounds = "onSetVideoBounds" MethodITvInteractiveAppClientOnRequestCurrentVideoBounds = "onRequestCurrentVideoBounds" MethodITvInteractiveAppClientOnRequestCurrentChannelUri = "onRequestCurrentChannelUri" MethodITvInteractiveAppClientOnRequestCurrentChannelLcn = "onRequestCurrentChannelLcn" MethodITvInteractiveAppClientOnRequestStreamVolume = "onRequestStreamVolume" MethodITvInteractiveAppClientOnRequestTrackInfoList = "onRequestTrackInfoList" MethodITvInteractiveAppClientOnRequestSelectedTrackInfo = "onRequestSelectedTrackInfo" MethodITvInteractiveAppClientOnRequestCurrentTvInputId = "onRequestCurrentTvInputId" MethodITvInteractiveAppClientOnRequestTimeShiftMode = "onRequestTimeShiftMode" MethodITvInteractiveAppClientOnRequestAvailableSpeeds = "onRequestAvailableSpeeds" MethodITvInteractiveAppClientOnRequestStartRecording = "onRequestStartRecording" MethodITvInteractiveAppClientOnRequestStopRecording = "onRequestStopRecording" MethodITvInteractiveAppClientOnRequestScheduleRecording = "onRequestScheduleRecording" MethodITvInteractiveAppClientOnRequestScheduleRecording2 = "onRequestScheduleRecording2" MethodITvInteractiveAppClientOnSetTvRecordingInfo = "onSetTvRecordingInfo" MethodITvInteractiveAppClientOnRequestTvRecordingInfo = "onRequestTvRecordingInfo" MethodITvInteractiveAppClientOnRequestTvRecordingInfoList = "onRequestTvRecordingInfoList" MethodITvInteractiveAppClientOnRequestSigning = "onRequestSigning" MethodITvInteractiveAppClientOnRequestSigning2 = "onRequestSigning2" MethodITvInteractiveAppClientOnRequestCertificate = "onRequestCertificate" MethodITvInteractiveAppClientOnAdRequest = "onAdRequest" )
const ( TransactionITvInteractiveAppManagerGetTvInteractiveAppServiceList = binder.FirstCallTransaction + 0 TransactionITvInteractiveAppManagerGetAppLinkInfoList = binder.FirstCallTransaction + 1 TransactionITvInteractiveAppManagerRegisterAppLinkInfo = binder.FirstCallTransaction + 2 TransactionITvInteractiveAppManagerUnregisterAppLinkInfo = binder.FirstCallTransaction + 3 TransactionITvInteractiveAppManagerSendAppLinkCommand = binder.FirstCallTransaction + 4 TransactionITvInteractiveAppManagerStartInteractiveApp = binder.FirstCallTransaction + 5 TransactionITvInteractiveAppManagerStopInteractiveApp = binder.FirstCallTransaction + 6 TransactionITvInteractiveAppManagerResetInteractiveApp = binder.FirstCallTransaction + 7 TransactionITvInteractiveAppManagerCreateBiInteractiveApp = binder.FirstCallTransaction + 8 TransactionITvInteractiveAppManagerDestroyBiInteractiveApp = binder.FirstCallTransaction + 9 TransactionITvInteractiveAppManagerSetTeletextAppEnabled = binder.FirstCallTransaction + 10 TransactionITvInteractiveAppManagerSendCurrentVideoBounds = binder.FirstCallTransaction + 11 TransactionITvInteractiveAppManagerSendCurrentChannelUri = binder.FirstCallTransaction + 12 TransactionITvInteractiveAppManagerSendCurrentChannelLcn = binder.FirstCallTransaction + 13 TransactionITvInteractiveAppManagerSendStreamVolume = binder.FirstCallTransaction + 14 TransactionITvInteractiveAppManagerSendTrackInfoList = binder.FirstCallTransaction + 15 TransactionITvInteractiveAppManagerSendCurrentTvInputId = binder.FirstCallTransaction + 16 TransactionITvInteractiveAppManagerSendTimeShiftMode = binder.FirstCallTransaction + 17 TransactionITvInteractiveAppManagerSendAvailableSpeeds = binder.FirstCallTransaction + 18 TransactionITvInteractiveAppManagerSendSigningResult = binder.FirstCallTransaction + 19 TransactionITvInteractiveAppManagerSendCertificate = binder.FirstCallTransaction + 20 TransactionITvInteractiveAppManagerSendTvRecordingInfo = binder.FirstCallTransaction + 21 TransactionITvInteractiveAppManagerSendTvRecordingInfoList = binder.FirstCallTransaction + 22 TransactionITvInteractiveAppManagerNotifyError = binder.FirstCallTransaction + 23 TransactionITvInteractiveAppManagerNotifyTimeShiftPlaybackParams = binder.FirstCallTransaction + 24 TransactionITvInteractiveAppManagerNotifyTimeShiftStatusChanged = binder.FirstCallTransaction + 25 TransactionITvInteractiveAppManagerNotifyTimeShiftStartPositionChanged = binder.FirstCallTransaction + 26 TransactionITvInteractiveAppManagerNotifyTimeShiftCurrentPositionChanged = binder.FirstCallTransaction + 27 TransactionITvInteractiveAppManagerNotifyRecordingConnectionFailed = binder.FirstCallTransaction + 28 TransactionITvInteractiveAppManagerNotifyRecordingDisconnected = binder.FirstCallTransaction + 29 TransactionITvInteractiveAppManagerNotifyRecordingTuned = binder.FirstCallTransaction + 30 TransactionITvInteractiveAppManagerNotifyRecordingError = binder.FirstCallTransaction + 31 TransactionITvInteractiveAppManagerNotifyRecordingScheduled = binder.FirstCallTransaction + 32 TransactionITvInteractiveAppManagerCreateSession = binder.FirstCallTransaction + 33 TransactionITvInteractiveAppManagerReleaseSession = binder.FirstCallTransaction + 34 TransactionITvInteractiveAppManagerNotifyTuned = binder.FirstCallTransaction + 35 TransactionITvInteractiveAppManagerNotifyTrackSelected = binder.FirstCallTransaction + 36 TransactionITvInteractiveAppManagerNotifyTracksChanged = binder.FirstCallTransaction + 37 TransactionITvInteractiveAppManagerNotifyVideoAvailable = binder.FirstCallTransaction + 38 TransactionITvInteractiveAppManagerNotifyVideoFreezeUpdated = binder.FirstCallTransaction + 40 TransactionITvInteractiveAppManagerNotifyContentAllowed = binder.FirstCallTransaction + 41 TransactionITvInteractiveAppManagerNotifyContentBlocked = binder.FirstCallTransaction + 42 TransactionITvInteractiveAppManagerNotifySignalStrength = binder.FirstCallTransaction + 43 TransactionITvInteractiveAppManagerNotifyRecordingStarted = binder.FirstCallTransaction + 44 TransactionITvInteractiveAppManagerNotifyRecordingStopped = binder.FirstCallTransaction + 45 TransactionITvInteractiveAppManagerNotifyTvMessage = binder.FirstCallTransaction + 46 TransactionITvInteractiveAppManagerSetSurface = binder.FirstCallTransaction + 47 TransactionITvInteractiveAppManagerDispatchSurfaceChanged = binder.FirstCallTransaction + 48 TransactionITvInteractiveAppManagerNotifyBroadcastInfoResponse = binder.FirstCallTransaction + 49 TransactionITvInteractiveAppManagerNotifyAdResponse = binder.FirstCallTransaction + 50 TransactionITvInteractiveAppManagerNotifyAdBufferConsumed = binder.FirstCallTransaction + 51 TransactionITvInteractiveAppManagerSendSelectedTrackInfo = binder.FirstCallTransaction + 52 TransactionITvInteractiveAppManagerCreateMediaView = binder.FirstCallTransaction + 53 TransactionITvInteractiveAppManagerRelayoutMediaView = binder.FirstCallTransaction + 54 TransactionITvInteractiveAppManagerRemoveMediaView = binder.FirstCallTransaction + 55 TransactionITvInteractiveAppManagerRegisterCallback = binder.FirstCallTransaction + 56 TransactionITvInteractiveAppManagerUnregisterCallback = binder.FirstCallTransaction + 57 )
const ( MethodITvInteractiveAppManagerGetTvInteractiveAppServiceList = "getTvInteractiveAppServiceList" MethodITvInteractiveAppManagerGetAppLinkInfoList = "getAppLinkInfoList" MethodITvInteractiveAppManagerRegisterAppLinkInfo = "registerAppLinkInfo" MethodITvInteractiveAppManagerUnregisterAppLinkInfo = "unregisterAppLinkInfo" MethodITvInteractiveAppManagerSendAppLinkCommand = "sendAppLinkCommand" MethodITvInteractiveAppManagerStartInteractiveApp = "startInteractiveApp" MethodITvInteractiveAppManagerStopInteractiveApp = "stopInteractiveApp" MethodITvInteractiveAppManagerResetInteractiveApp = "resetInteractiveApp" MethodITvInteractiveAppManagerCreateBiInteractiveApp = "createBiInteractiveApp" MethodITvInteractiveAppManagerDestroyBiInteractiveApp = "destroyBiInteractiveApp" MethodITvInteractiveAppManagerSetTeletextAppEnabled = "setTeletextAppEnabled" MethodITvInteractiveAppManagerSendCurrentVideoBounds = "sendCurrentVideoBounds" MethodITvInteractiveAppManagerSendCurrentChannelUri = "sendCurrentChannelUri" MethodITvInteractiveAppManagerSendCurrentChannelLcn = "sendCurrentChannelLcn" MethodITvInteractiveAppManagerSendStreamVolume = "sendStreamVolume" MethodITvInteractiveAppManagerSendTrackInfoList = "sendTrackInfoList" MethodITvInteractiveAppManagerSendCurrentTvInputId = "sendCurrentTvInputId" MethodITvInteractiveAppManagerSendTimeShiftMode = "sendTimeShiftMode" MethodITvInteractiveAppManagerSendAvailableSpeeds = "sendAvailableSpeeds" MethodITvInteractiveAppManagerSendSigningResult = "sendSigningResult" MethodITvInteractiveAppManagerSendCertificate = "sendCertificate" MethodITvInteractiveAppManagerSendTvRecordingInfo = "sendTvRecordingInfo" MethodITvInteractiveAppManagerSendTvRecordingInfoList = "sendTvRecordingInfoList" MethodITvInteractiveAppManagerNotifyError = "notifyError" MethodITvInteractiveAppManagerNotifyTimeShiftPlaybackParams = "notifyTimeShiftPlaybackParams" MethodITvInteractiveAppManagerNotifyTimeShiftStatusChanged = "notifyTimeShiftStatusChanged" MethodITvInteractiveAppManagerNotifyTimeShiftStartPositionChanged = "notifyTimeShiftStartPositionChanged" MethodITvInteractiveAppManagerNotifyTimeShiftCurrentPositionChanged = "notifyTimeShiftCurrentPositionChanged" MethodITvInteractiveAppManagerNotifyRecordingConnectionFailed = "notifyRecordingConnectionFailed" MethodITvInteractiveAppManagerNotifyRecordingDisconnected = "notifyRecordingDisconnected" MethodITvInteractiveAppManagerNotifyRecordingTuned = "notifyRecordingTuned" MethodITvInteractiveAppManagerNotifyRecordingError = "notifyRecordingError" MethodITvInteractiveAppManagerNotifyRecordingScheduled = "notifyRecordingScheduled" MethodITvInteractiveAppManagerCreateSession = "createSession" MethodITvInteractiveAppManagerReleaseSession = "releaseSession" MethodITvInteractiveAppManagerNotifyTuned = "notifyTuned" MethodITvInteractiveAppManagerNotifyTrackSelected = "notifyTrackSelected" MethodITvInteractiveAppManagerNotifyTracksChanged = "notifyTracksChanged" MethodITvInteractiveAppManagerNotifyVideoAvailable = "notifyVideoAvailable" MethodITvInteractiveAppManagerNotifyVideoFreezeUpdated = "notifyVideoFreezeUpdated" MethodITvInteractiveAppManagerNotifyContentAllowed = "notifyContentAllowed" MethodITvInteractiveAppManagerNotifyContentBlocked = "notifyContentBlocked" MethodITvInteractiveAppManagerNotifySignalStrength = "notifySignalStrength" MethodITvInteractiveAppManagerNotifyRecordingStarted = "notifyRecordingStarted" MethodITvInteractiveAppManagerNotifyRecordingStopped = "notifyRecordingStopped" MethodITvInteractiveAppManagerNotifyTvMessage = "notifyTvMessage" MethodITvInteractiveAppManagerSetSurface = "setSurface" MethodITvInteractiveAppManagerDispatchSurfaceChanged = "dispatchSurfaceChanged" MethodITvInteractiveAppManagerNotifyBroadcastInfoResponse = "notifyBroadcastInfoResponse" MethodITvInteractiveAppManagerNotifyAdResponse = "notifyAdResponse" MethodITvInteractiveAppManagerNotifyAdBufferConsumed = "notifyAdBufferConsumed" MethodITvInteractiveAppManagerSendSelectedTrackInfo = "sendSelectedTrackInfo" MethodITvInteractiveAppManagerCreateMediaView = "createMediaView" MethodITvInteractiveAppManagerRelayoutMediaView = "relayoutMediaView" MethodITvInteractiveAppManagerRemoveMediaView = "removeMediaView" MethodITvInteractiveAppManagerRegisterCallback = "registerCallback" MethodITvInteractiveAppManagerUnregisterCallback = "unregisterCallback" )
const ( TransactionITvInteractiveAppManagerCallbackOnInteractiveAppServiceAdded = binder.FirstCallTransaction + 0 TransactionITvInteractiveAppManagerCallbackOnInteractiveAppServiceRemoved = binder.FirstCallTransaction + 1 TransactionITvInteractiveAppManagerCallbackOnInteractiveAppServiceUpdated = binder.FirstCallTransaction + 2 TransactionITvInteractiveAppManagerCallbackOnTvInteractiveAppServiceInfoUpdated = binder.FirstCallTransaction + 3 TransactionITvInteractiveAppManagerCallbackOnStateChanged = binder.FirstCallTransaction + 4 )
const ( MethodITvInteractiveAppManagerCallbackOnInteractiveAppServiceAdded = "onInteractiveAppServiceAdded" MethodITvInteractiveAppManagerCallbackOnInteractiveAppServiceRemoved = "onInteractiveAppServiceRemoved" MethodITvInteractiveAppManagerCallbackOnInteractiveAppServiceUpdated = "onInteractiveAppServiceUpdated" MethodITvInteractiveAppManagerCallbackOnTvInteractiveAppServiceInfoUpdated = "onTvInteractiveAppServiceInfoUpdated" MethodITvInteractiveAppManagerCallbackOnStateChanged = "onStateChanged" )
const ( TransactionITvInteractiveAppServiceRegisterCallback = binder.FirstCallTransaction + 0 TransactionITvInteractiveAppServiceUnregisterCallback = binder.FirstCallTransaction + 1 TransactionITvInteractiveAppServiceCreateSession = binder.FirstCallTransaction + 2 TransactionITvInteractiveAppServiceRegisterAppLinkInfo = binder.FirstCallTransaction + 3 TransactionITvInteractiveAppServiceUnregisterAppLinkInfo = binder.FirstCallTransaction + 4 TransactionITvInteractiveAppServiceSendAppLinkCommand = binder.FirstCallTransaction + 5 )
const ( MethodITvInteractiveAppServiceRegisterCallback = "registerCallback" MethodITvInteractiveAppServiceUnregisterCallback = "unregisterCallback" MethodITvInteractiveAppServiceCreateSession = "createSession" MethodITvInteractiveAppServiceRegisterAppLinkInfo = "registerAppLinkInfo" MethodITvInteractiveAppServiceUnregisterAppLinkInfo = "unregisterAppLinkInfo" MethodITvInteractiveAppServiceSendAppLinkCommand = "sendAppLinkCommand" )
const ( TransactionITvInteractiveAppSessionStartInteractiveApp = binder.FirstCallTransaction + 0 TransactionITvInteractiveAppSessionStopInteractiveApp = binder.FirstCallTransaction + 1 TransactionITvInteractiveAppSessionResetInteractiveApp = binder.FirstCallTransaction + 2 TransactionITvInteractiveAppSessionCreateBiInteractiveApp = binder.FirstCallTransaction + 3 TransactionITvInteractiveAppSessionDestroyBiInteractiveApp = binder.FirstCallTransaction + 4 TransactionITvInteractiveAppSessionSetTeletextAppEnabled = binder.FirstCallTransaction + 5 TransactionITvInteractiveAppSessionSendCurrentVideoBounds = binder.FirstCallTransaction + 6 TransactionITvInteractiveAppSessionSendCurrentChannelUri = binder.FirstCallTransaction + 7 TransactionITvInteractiveAppSessionSendCurrentChannelLcn = binder.FirstCallTransaction + 8 TransactionITvInteractiveAppSessionSendStreamVolume = binder.FirstCallTransaction + 9 TransactionITvInteractiveAppSessionSendTrackInfoList = binder.FirstCallTransaction + 10 TransactionITvInteractiveAppSessionSendCurrentTvInputId = binder.FirstCallTransaction + 11 TransactionITvInteractiveAppSessionSendTimeShiftMode = binder.FirstCallTransaction + 12 TransactionITvInteractiveAppSessionSendAvailableSpeeds = binder.FirstCallTransaction + 13 TransactionITvInteractiveAppSessionSendSigningResult = binder.FirstCallTransaction + 14 TransactionITvInteractiveAppSessionSendCertificate = binder.FirstCallTransaction + 15 TransactionITvInteractiveAppSessionSendTvRecordingInfo = binder.FirstCallTransaction + 16 TransactionITvInteractiveAppSessionSendTvRecordingInfoList = binder.FirstCallTransaction + 17 TransactionITvInteractiveAppSessionNotifyError = binder.FirstCallTransaction + 18 TransactionITvInteractiveAppSessionNotifyTimeShiftPlaybackParams = binder.FirstCallTransaction + 19 TransactionITvInteractiveAppSessionNotifyTimeShiftStatusChanged = binder.FirstCallTransaction + 20 TransactionITvInteractiveAppSessionNotifyTimeShiftStartPositionChanged = binder.FirstCallTransaction + 21 TransactionITvInteractiveAppSessionNotifyTimeShiftCurrentPositionChanged = binder.FirstCallTransaction + 22 TransactionITvInteractiveAppSessionNotifyRecordingConnectionFailed = binder.FirstCallTransaction + 23 TransactionITvInteractiveAppSessionNotifyRecordingDisconnected = binder.FirstCallTransaction + 24 TransactionITvInteractiveAppSessionNotifyRecordingTuned = binder.FirstCallTransaction + 25 TransactionITvInteractiveAppSessionNotifyRecordingError = binder.FirstCallTransaction + 26 TransactionITvInteractiveAppSessionNotifyRecordingScheduled = binder.FirstCallTransaction + 27 TransactionITvInteractiveAppSessionRelease = binder.FirstCallTransaction + 28 TransactionITvInteractiveAppSessionNotifyTuned = binder.FirstCallTransaction + 29 TransactionITvInteractiveAppSessionNotifyTrackSelected = binder.FirstCallTransaction + 30 TransactionITvInteractiveAppSessionNotifyTracksChanged = binder.FirstCallTransaction + 31 TransactionITvInteractiveAppSessionNotifyVideoAvailable = binder.FirstCallTransaction + 32 TransactionITvInteractiveAppSessionNotifyVideoFreezeUpdated = binder.FirstCallTransaction + 34 TransactionITvInteractiveAppSessionNotifyContentAllowed = binder.FirstCallTransaction + 35 TransactionITvInteractiveAppSessionNotifyContentBlocked = binder.FirstCallTransaction + 36 TransactionITvInteractiveAppSessionNotifySignalStrength = binder.FirstCallTransaction + 37 TransactionITvInteractiveAppSessionNotifyRecordingStarted = binder.FirstCallTransaction + 38 TransactionITvInteractiveAppSessionNotifyRecordingStopped = binder.FirstCallTransaction + 39 TransactionITvInteractiveAppSessionNotifyTvMessage = binder.FirstCallTransaction + 40 TransactionITvInteractiveAppSessionSetSurface = binder.FirstCallTransaction + 41 TransactionITvInteractiveAppSessionDispatchSurfaceChanged = binder.FirstCallTransaction + 42 TransactionITvInteractiveAppSessionNotifyBroadcastInfoResponse = binder.FirstCallTransaction + 43 TransactionITvInteractiveAppSessionNotifyAdResponse = binder.FirstCallTransaction + 44 TransactionITvInteractiveAppSessionNotifyAdBufferConsumed = binder.FirstCallTransaction + 45 TransactionITvInteractiveAppSessionSendSelectedTrackInfo = binder.FirstCallTransaction + 46 TransactionITvInteractiveAppSessionCreateMediaView = binder.FirstCallTransaction + 47 TransactionITvInteractiveAppSessionRelayoutMediaView = binder.FirstCallTransaction + 48 TransactionITvInteractiveAppSessionRemoveMediaView = binder.FirstCallTransaction + 49 )
const ( MethodITvInteractiveAppSessionStartInteractiveApp = "startInteractiveApp" MethodITvInteractiveAppSessionStopInteractiveApp = "stopInteractiveApp" MethodITvInteractiveAppSessionResetInteractiveApp = "resetInteractiveApp" MethodITvInteractiveAppSessionCreateBiInteractiveApp = "createBiInteractiveApp" MethodITvInteractiveAppSessionDestroyBiInteractiveApp = "destroyBiInteractiveApp" MethodITvInteractiveAppSessionSetTeletextAppEnabled = "setTeletextAppEnabled" MethodITvInteractiveAppSessionSendCurrentVideoBounds = "sendCurrentVideoBounds" MethodITvInteractiveAppSessionSendCurrentChannelUri = "sendCurrentChannelUri" MethodITvInteractiveAppSessionSendCurrentChannelLcn = "sendCurrentChannelLcn" MethodITvInteractiveAppSessionSendStreamVolume = "sendStreamVolume" MethodITvInteractiveAppSessionSendTrackInfoList = "sendTrackInfoList" MethodITvInteractiveAppSessionSendCurrentTvInputId = "sendCurrentTvInputId" MethodITvInteractiveAppSessionSendTimeShiftMode = "sendTimeShiftMode" MethodITvInteractiveAppSessionSendAvailableSpeeds = "sendAvailableSpeeds" MethodITvInteractiveAppSessionSendSigningResult = "sendSigningResult" MethodITvInteractiveAppSessionSendCertificate = "sendCertificate" MethodITvInteractiveAppSessionSendTvRecordingInfo = "sendTvRecordingInfo" MethodITvInteractiveAppSessionSendTvRecordingInfoList = "sendTvRecordingInfoList" MethodITvInteractiveAppSessionNotifyError = "notifyError" MethodITvInteractiveAppSessionNotifyTimeShiftPlaybackParams = "notifyTimeShiftPlaybackParams" MethodITvInteractiveAppSessionNotifyTimeShiftStatusChanged = "notifyTimeShiftStatusChanged" MethodITvInteractiveAppSessionNotifyTimeShiftStartPositionChanged = "notifyTimeShiftStartPositionChanged" MethodITvInteractiveAppSessionNotifyTimeShiftCurrentPositionChanged = "notifyTimeShiftCurrentPositionChanged" MethodITvInteractiveAppSessionNotifyRecordingConnectionFailed = "notifyRecordingConnectionFailed" MethodITvInteractiveAppSessionNotifyRecordingDisconnected = "notifyRecordingDisconnected" MethodITvInteractiveAppSessionNotifyRecordingTuned = "notifyRecordingTuned" MethodITvInteractiveAppSessionNotifyRecordingError = "notifyRecordingError" MethodITvInteractiveAppSessionNotifyRecordingScheduled = "notifyRecordingScheduled" MethodITvInteractiveAppSessionRelease = "release" MethodITvInteractiveAppSessionNotifyTuned = "notifyTuned" MethodITvInteractiveAppSessionNotifyTrackSelected = "notifyTrackSelected" MethodITvInteractiveAppSessionNotifyTracksChanged = "notifyTracksChanged" MethodITvInteractiveAppSessionNotifyVideoAvailable = "notifyVideoAvailable" MethodITvInteractiveAppSessionNotifyVideoFreezeUpdated = "notifyVideoFreezeUpdated" MethodITvInteractiveAppSessionNotifyContentAllowed = "notifyContentAllowed" MethodITvInteractiveAppSessionNotifyContentBlocked = "notifyContentBlocked" MethodITvInteractiveAppSessionNotifySignalStrength = "notifySignalStrength" MethodITvInteractiveAppSessionNotifyRecordingStarted = "notifyRecordingStarted" MethodITvInteractiveAppSessionNotifyRecordingStopped = "notifyRecordingStopped" MethodITvInteractiveAppSessionNotifyTvMessage = "notifyTvMessage" MethodITvInteractiveAppSessionSetSurface = "setSurface" MethodITvInteractiveAppSessionDispatchSurfaceChanged = "dispatchSurfaceChanged" MethodITvInteractiveAppSessionNotifyBroadcastInfoResponse = "notifyBroadcastInfoResponse" MethodITvInteractiveAppSessionNotifyAdResponse = "notifyAdResponse" MethodITvInteractiveAppSessionNotifyAdBufferConsumed = "notifyAdBufferConsumed" MethodITvInteractiveAppSessionSendSelectedTrackInfo = "sendSelectedTrackInfo" MethodITvInteractiveAppSessionCreateMediaView = "createMediaView" MethodITvInteractiveAppSessionRelayoutMediaView = "relayoutMediaView" MethodITvInteractiveAppSessionRemoveMediaView = "removeMediaView" )
const ( TransactionITvInteractiveAppSessionCallbackOnSessionCreated = binder.FirstCallTransaction + 0 TransactionITvInteractiveAppSessionCallbackOnLayoutSurface = binder.FirstCallTransaction + 1 TransactionITvInteractiveAppSessionCallbackOnBroadcastInfoRequest = binder.FirstCallTransaction + 2 TransactionITvInteractiveAppSessionCallbackOnRemoveBroadcastInfo = binder.FirstCallTransaction + 3 TransactionITvInteractiveAppSessionCallbackOnSessionStateChanged = binder.FirstCallTransaction + 4 TransactionITvInteractiveAppSessionCallbackOnBiInteractiveAppCreated = binder.FirstCallTransaction + 5 TransactionITvInteractiveAppSessionCallbackOnTeletextAppStateChanged = binder.FirstCallTransaction + 6 TransactionITvInteractiveAppSessionCallbackOnAdBufferReady = binder.FirstCallTransaction + 7 TransactionITvInteractiveAppSessionCallbackOnCommandRequest = binder.FirstCallTransaction + 8 TransactionITvInteractiveAppSessionCallbackOnTimeShiftCommandRequest = binder.FirstCallTransaction + 9 TransactionITvInteractiveAppSessionCallbackOnSetVideoBounds = binder.FirstCallTransaction + 10 TransactionITvInteractiveAppSessionCallbackOnRequestCurrentVideoBounds = binder.FirstCallTransaction + 11 TransactionITvInteractiveAppSessionCallbackOnRequestCurrentChannelUri = binder.FirstCallTransaction + 12 TransactionITvInteractiveAppSessionCallbackOnRequestCurrentChannelLcn = binder.FirstCallTransaction + 13 TransactionITvInteractiveAppSessionCallbackOnRequestStreamVolume = binder.FirstCallTransaction + 14 TransactionITvInteractiveAppSessionCallbackOnRequestTrackInfoList = binder.FirstCallTransaction + 15 TransactionITvInteractiveAppSessionCallbackOnRequestCurrentTvInputId = binder.FirstCallTransaction + 16 TransactionITvInteractiveAppSessionCallbackOnRequestTimeShiftMode = binder.FirstCallTransaction + 17 TransactionITvInteractiveAppSessionCallbackOnRequestAvailableSpeeds = binder.FirstCallTransaction + 18 TransactionITvInteractiveAppSessionCallbackOnRequestSelectedTrackInfo = binder.FirstCallTransaction + 19 TransactionITvInteractiveAppSessionCallbackOnRequestStartRecording = binder.FirstCallTransaction + 20 TransactionITvInteractiveAppSessionCallbackOnRequestStopRecording = binder.FirstCallTransaction + 21 TransactionITvInteractiveAppSessionCallbackOnRequestScheduleRecording = binder.FirstCallTransaction + 22 TransactionITvInteractiveAppSessionCallbackOnRequestScheduleRecording2 = binder.FirstCallTransaction + 23 TransactionITvInteractiveAppSessionCallbackOnSetTvRecordingInfo = binder.FirstCallTransaction + 24 TransactionITvInteractiveAppSessionCallbackOnRequestTvRecordingInfo = binder.FirstCallTransaction + 25 TransactionITvInteractiveAppSessionCallbackOnRequestTvRecordingInfoList = binder.FirstCallTransaction + 26 TransactionITvInteractiveAppSessionCallbackOnRequestSigning = binder.FirstCallTransaction + 27 TransactionITvInteractiveAppSessionCallbackOnRequestSigning2 = binder.FirstCallTransaction + 28 TransactionITvInteractiveAppSessionCallbackOnRequestCertificate = binder.FirstCallTransaction + 29 TransactionITvInteractiveAppSessionCallbackOnAdRequest = binder.FirstCallTransaction + 30 )
const ( MethodITvInteractiveAppSessionCallbackOnSessionCreated = "onSessionCreated" MethodITvInteractiveAppSessionCallbackOnLayoutSurface = "onLayoutSurface" MethodITvInteractiveAppSessionCallbackOnBroadcastInfoRequest = "onBroadcastInfoRequest" MethodITvInteractiveAppSessionCallbackOnRemoveBroadcastInfo = "onRemoveBroadcastInfo" MethodITvInteractiveAppSessionCallbackOnSessionStateChanged = "onSessionStateChanged" MethodITvInteractiveAppSessionCallbackOnBiInteractiveAppCreated = "onBiInteractiveAppCreated" MethodITvInteractiveAppSessionCallbackOnTeletextAppStateChanged = "onTeletextAppStateChanged" MethodITvInteractiveAppSessionCallbackOnAdBufferReady = "onAdBufferReady" MethodITvInteractiveAppSessionCallbackOnCommandRequest = "onCommandRequest" MethodITvInteractiveAppSessionCallbackOnTimeShiftCommandRequest = "onTimeShiftCommandRequest" MethodITvInteractiveAppSessionCallbackOnSetVideoBounds = "onSetVideoBounds" MethodITvInteractiveAppSessionCallbackOnRequestCurrentVideoBounds = "onRequestCurrentVideoBounds" MethodITvInteractiveAppSessionCallbackOnRequestCurrentChannelUri = "onRequestCurrentChannelUri" MethodITvInteractiveAppSessionCallbackOnRequestCurrentChannelLcn = "onRequestCurrentChannelLcn" MethodITvInteractiveAppSessionCallbackOnRequestStreamVolume = "onRequestStreamVolume" MethodITvInteractiveAppSessionCallbackOnRequestTrackInfoList = "onRequestTrackInfoList" MethodITvInteractiveAppSessionCallbackOnRequestCurrentTvInputId = "onRequestCurrentTvInputId" MethodITvInteractiveAppSessionCallbackOnRequestTimeShiftMode = "onRequestTimeShiftMode" MethodITvInteractiveAppSessionCallbackOnRequestAvailableSpeeds = "onRequestAvailableSpeeds" MethodITvInteractiveAppSessionCallbackOnRequestSelectedTrackInfo = "onRequestSelectedTrackInfo" MethodITvInteractiveAppSessionCallbackOnRequestStartRecording = "onRequestStartRecording" MethodITvInteractiveAppSessionCallbackOnRequestStopRecording = "onRequestStopRecording" MethodITvInteractiveAppSessionCallbackOnRequestScheduleRecording = "onRequestScheduleRecording" MethodITvInteractiveAppSessionCallbackOnRequestScheduleRecording2 = "onRequestScheduleRecording2" MethodITvInteractiveAppSessionCallbackOnSetTvRecordingInfo = "onSetTvRecordingInfo" MethodITvInteractiveAppSessionCallbackOnRequestTvRecordingInfo = "onRequestTvRecordingInfo" MethodITvInteractiveAppSessionCallbackOnRequestTvRecordingInfoList = "onRequestTvRecordingInfoList" MethodITvInteractiveAppSessionCallbackOnRequestSigning = "onRequestSigning" MethodITvInteractiveAppSessionCallbackOnRequestSigning2 = "onRequestSigning2" MethodITvInteractiveAppSessionCallbackOnRequestCertificate = "onRequestCertificate" MethodITvInteractiveAppSessionCallbackOnAdRequest = "onAdRequest" )
const DescriptorITvInteractiveAppClient = "android.media.tv.interactive.ITvInteractiveAppClient"
const DescriptorITvInteractiveAppManager = "android.media.tv.interactive.ITvInteractiveAppManager"
const DescriptorITvInteractiveAppManagerCallback = "android.media.tv.interactive.ITvInteractiveAppManagerCallback"
const DescriptorITvInteractiveAppService = "android.media.tv.interactive.ITvInteractiveAppService"
const DescriptorITvInteractiveAppServiceCallback = "android.media.tv.interactive.ITvInteractiveAppServiceCallback"
const DescriptorITvInteractiveAppSession = "android.media.tv.interactive.ITvInteractiveAppSession"
const DescriptorITvInteractiveAppSessionCallback = "android.media.tv.interactive.ITvInteractiveAppSessionCallback"
const (
MethodITvInteractiveAppServiceCallbackOnStateChanged = "onStateChanged"
)
const (
TransactionITvInteractiveAppServiceCallbackOnStateChanged = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppLinkInfo ¶
type AppLinkInfo struct {
UriString string
}
func (*AppLinkInfo) MarshalParcel ¶
func (s *AppLinkInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*AppLinkInfo) UnmarshalParcel ¶
func (s *AppLinkInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type ITvInteractiveAppClient ¶
type ITvInteractiveAppClient interface {
AsBinder() binder.IBinder
OnSessionCreated(ctx context.Context, iAppServiceId string, token binder.IBinder, channel view.InputChannel, seq int32) error
OnSessionReleased(ctx context.Context, seq int32) error
OnLayoutSurface(ctx context.Context, left int32, top int32, right int32, bottom int32, seq int32) error
OnBroadcastInfoRequest(ctx context.Context, request tv.BroadcastInfoRequest, seq int32) error
OnRemoveBroadcastInfo(ctx context.Context, id int32, seq int32) error
OnSessionStateChanged(ctx context.Context, state int32, err int32, seq int32) error
OnBiInteractiveAppCreated(ctx context.Context, biIAppUri net.Uri, biIAppId string, seq int32) error
OnTeletextAppStateChanged(ctx context.Context, state int32, seq int32) error
OnAdBufferReady(ctx context.Context, buffer tv.AdBuffer, seq int32) error
OnCommandRequest(ctx context.Context, cmdType string, parameters os.Bundle, seq int32) error
OnTimeShiftCommandRequest(ctx context.Context, cmdType string, parameters os.Bundle, seq int32) error
OnSetVideoBounds(ctx context.Context, rect graphics.Rect, seq int32) error
OnRequestCurrentVideoBounds(ctx context.Context, seq int32) error
OnRequestCurrentChannelUri(ctx context.Context, seq int32) error
OnRequestCurrentChannelLcn(ctx context.Context, seq int32) error
OnRequestStreamVolume(ctx context.Context, seq int32) error
OnRequestTrackInfoList(ctx context.Context, seq int32) error
OnRequestSelectedTrackInfo(ctx context.Context, seq int32) error
OnRequestCurrentTvInputId(ctx context.Context, seq int32) error
OnRequestTimeShiftMode(ctx context.Context, seq int32) error
OnRequestAvailableSpeeds(ctx context.Context, seq int32) error
OnRequestStartRecording(ctx context.Context, requestId string, programUri net.Uri, seq int32) error
OnRequestStopRecording(ctx context.Context, recordingId string, seq int32) error
OnRequestScheduleRecording(ctx context.Context, requestId string, inputId string, channelUri net.Uri, programUri net.Uri, params os.Bundle, seq int32) error
OnRequestScheduleRecording2(ctx context.Context, requestId string, inputId string, channelUri net.Uri, start int64, duration int64, repeat int32, params os.Bundle, seq int32) error
OnSetTvRecordingInfo(ctx context.Context, recordingId string, recordingInfo tv.TvRecordingInfo, seq int32) error
OnRequestTvRecordingInfo(ctx context.Context, recordingId string, seq int32) error
OnRequestTvRecordingInfoList(ctx context.Context, type_ int32, seq int32) error
OnRequestSigning(ctx context.Context, id string, algorithm string, alias string, data []byte, seq int32) error
OnRequestSigning2(ctx context.Context, id string, algorithm string, host string, port int32, data []byte, seq int32) error
OnRequestCertificate(ctx context.Context, host string, port int32, seq int32) error
OnAdRequest(ctx context.Context, request tv.AdRequest, Seq int32) error
}
func NewTvInteractiveAppClientStub ¶
func NewTvInteractiveAppClientStub( impl ITvInteractiveAppClientServer, ) ITvInteractiveAppClient
NewTvInteractiveAppClientStub creates a server-side ITvInteractiveAppClient wrapping the given server implementation. The returned value satisfies ITvInteractiveAppClient 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 ITvInteractiveAppClientServer ¶
type ITvInteractiveAppClientServer interface {
OnSessionCreated(ctx context.Context, iAppServiceId string, token binder.IBinder, channel view.InputChannel, seq int32) error
OnSessionReleased(ctx context.Context, seq int32) error
OnLayoutSurface(ctx context.Context, left int32, top int32, right int32, bottom int32, seq int32) error
OnBroadcastInfoRequest(ctx context.Context, request tv.BroadcastInfoRequest, seq int32) error
OnRemoveBroadcastInfo(ctx context.Context, id int32, seq int32) error
OnSessionStateChanged(ctx context.Context, state int32, err int32, seq int32) error
OnBiInteractiveAppCreated(ctx context.Context, biIAppUri net.Uri, biIAppId string, seq int32) error
OnTeletextAppStateChanged(ctx context.Context, state int32, seq int32) error
OnAdBufferReady(ctx context.Context, buffer tv.AdBuffer, seq int32) error
OnCommandRequest(ctx context.Context, cmdType string, parameters os.Bundle, seq int32) error
OnTimeShiftCommandRequest(ctx context.Context, cmdType string, parameters os.Bundle, seq int32) error
OnSetVideoBounds(ctx context.Context, rect graphics.Rect, seq int32) error
OnRequestCurrentVideoBounds(ctx context.Context, seq int32) error
OnRequestCurrentChannelUri(ctx context.Context, seq int32) error
OnRequestCurrentChannelLcn(ctx context.Context, seq int32) error
OnRequestStreamVolume(ctx context.Context, seq int32) error
OnRequestTrackInfoList(ctx context.Context, seq int32) error
OnRequestSelectedTrackInfo(ctx context.Context, seq int32) error
OnRequestCurrentTvInputId(ctx context.Context, seq int32) error
OnRequestTimeShiftMode(ctx context.Context, seq int32) error
OnRequestAvailableSpeeds(ctx context.Context, seq int32) error
OnRequestStartRecording(ctx context.Context, requestId string, programUri net.Uri, seq int32) error
OnRequestStopRecording(ctx context.Context, recordingId string, seq int32) error
OnRequestScheduleRecording(ctx context.Context, requestId string, inputId string, channelUri net.Uri, programUri net.Uri, params os.Bundle, seq int32) error
OnRequestScheduleRecording2(ctx context.Context, requestId string, inputId string, channelUri net.Uri, start int64, duration int64, repeat int32, params os.Bundle, seq int32) error
OnSetTvRecordingInfo(ctx context.Context, recordingId string, recordingInfo tv.TvRecordingInfo, seq int32) error
OnRequestTvRecordingInfo(ctx context.Context, recordingId string, seq int32) error
OnRequestTvRecordingInfoList(ctx context.Context, type_ int32, seq int32) error
OnRequestSigning(ctx context.Context, id string, algorithm string, alias string, data []byte, seq int32) error
OnRequestSigning2(ctx context.Context, id string, algorithm string, host string, port int32, data []byte, seq int32) error
OnRequestCertificate(ctx context.Context, host string, port int32, seq int32) error
OnAdRequest(ctx context.Context, request tv.AdRequest, Seq int32) error
}
ITvInteractiveAppClientServer is the server-side interface that user implementations provide to NewTvInteractiveAppClientStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ITvInteractiveAppManager ¶
type ITvInteractiveAppManager interface {
AsBinder() binder.IBinder
GetTvInteractiveAppServiceList(ctx context.Context) ([]TvInteractiveAppServiceInfo, error)
GetAppLinkInfoList(ctx context.Context) ([]AppLinkInfo, error)
RegisterAppLinkInfo(ctx context.Context, tiasId string, info AppLinkInfo) error
UnregisterAppLinkInfo(ctx context.Context, tiasId string, info AppLinkInfo) error
SendAppLinkCommand(ctx context.Context, tiasId string, command os.Bundle) error
StartInteractiveApp(ctx context.Context, sessionToken binder.IBinder) error
StopInteractiveApp(ctx context.Context, sessionToken binder.IBinder) error
ResetInteractiveApp(ctx context.Context, sessionToken binder.IBinder) error
CreateBiInteractiveApp(ctx context.Context, sessionToken binder.IBinder, biIAppUri net.Uri, params os.Bundle) error
DestroyBiInteractiveApp(ctx context.Context, sessionToken binder.IBinder, biIAppId string) error
SetTeletextAppEnabled(ctx context.Context, sessionToken binder.IBinder, enable bool) error
SendCurrentVideoBounds(ctx context.Context, sessionToken binder.IBinder, bounds graphics.Rect) error
SendCurrentChannelUri(ctx context.Context, sessionToken binder.IBinder, channelUri net.Uri) error
SendCurrentChannelLcn(ctx context.Context, sessionToken binder.IBinder, lcn int32) error
SendStreamVolume(ctx context.Context, sessionToken binder.IBinder, volume float32) error
SendTrackInfoList(ctx context.Context, sessionToken binder.IBinder, tracks []tv.TvTrackInfo) error
SendCurrentTvInputId(ctx context.Context, sessionToken binder.IBinder, inputId string) error
SendTimeShiftMode(ctx context.Context, sessionToken binder.IBinder, mode int32) error
SendAvailableSpeeds(ctx context.Context, sessionToken binder.IBinder, speeds []float32) error
SendSigningResult(ctx context.Context, sessionToken binder.IBinder, signingId string, result []byte) error
SendCertificate(ctx context.Context, sessionToken binder.IBinder, host string, port int32, certBundle os.Bundle) error
SendTvRecordingInfo(ctx context.Context, sessionToken binder.IBinder, recordingInfo tv.TvRecordingInfo) error
SendTvRecordingInfoList(ctx context.Context, sessionToken binder.IBinder, recordingInfoList []tv.TvRecordingInfo) error
NotifyError(ctx context.Context, sessionToken binder.IBinder, errMsg string, params os.Bundle) error
NotifyTimeShiftPlaybackParams(ctx context.Context, sessionToken binder.IBinder, params media.PlaybackParams) error
NotifyTimeShiftStatusChanged(ctx context.Context, sessionToken binder.IBinder, inputId string, status int32) error
NotifyTimeShiftStartPositionChanged(ctx context.Context, sessionToken binder.IBinder, inputId string, timeMs int64) error
NotifyTimeShiftCurrentPositionChanged(ctx context.Context, sessionToken binder.IBinder, inputId string, timeMs int64) error
NotifyRecordingConnectionFailed(ctx context.Context, sessionToken binder.IBinder, recordingId string, inputId string) error
NotifyRecordingDisconnected(ctx context.Context, sessionToken binder.IBinder, recordingId string, inputId string) error
NotifyRecordingTuned(ctx context.Context, sessionToken binder.IBinder, recordingId string, channelUri net.Uri) error
NotifyRecordingError(ctx context.Context, sessionToken binder.IBinder, recordingId string, err int32) error
NotifyRecordingScheduled(ctx context.Context, sessionToken binder.IBinder, recordingId string, requestId string) error
CreateSession(ctx context.Context, client ITvInteractiveAppClient, iAppServiceId string, type_ int32, seq int32) error
ReleaseSession(ctx context.Context, sessionToken binder.IBinder) error
NotifyTuned(ctx context.Context, sessionToken binder.IBinder, channelUri net.Uri) error
NotifyTrackSelected(ctx context.Context, sessionToken binder.IBinder, type_ int32, trackId string) error
NotifyTracksChanged(ctx context.Context, sessionToken binder.IBinder, tracks []tv.TvTrackInfo) error
NotifyVideoAvailable(ctx context.Context, sessionToken binder.IBinder) error
NotifyVideoFreezeUpdated(ctx context.Context, sessionToken binder.IBinder, isFrozen bool) error
NotifyContentAllowed(ctx context.Context, sessionToken binder.IBinder) error
NotifyContentBlocked(ctx context.Context, sessionToken binder.IBinder, rating string) error
NotifySignalStrength(ctx context.Context, sessionToken binder.IBinder, stength int32) error
NotifyRecordingStarted(ctx context.Context, sessionToken binder.IBinder, recordingId string, requestId string) error
NotifyRecordingStopped(ctx context.Context, sessionToken binder.IBinder, recordingId string) error
NotifyTvMessage(ctx context.Context, sessionToken binder.IBinder, type_ int32, data os.Bundle) 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
NotifyBroadcastInfoResponse(ctx context.Context, sessionToken binder.IBinder, response tv.BroadcastInfoResponse, UserId int32) error
NotifyAdResponse(ctx context.Context, sessionToken binder.IBinder, response tv.AdResponse, UserId int32) error
NotifyAdBufferConsumed(ctx context.Context, sessionToken binder.IBinder, buffer tv.AdBuffer) error
SendSelectedTrackInfo(ctx context.Context, sessionToken binder.IBinder, tracks []tv.TvTrackInfo) error
CreateMediaView(ctx context.Context, sessionToken binder.IBinder, windowToken binder.IBinder, frame graphics.Rect) error
RelayoutMediaView(ctx context.Context, sessionToken binder.IBinder, frame graphics.Rect) error
RemoveMediaView(ctx context.Context, sessionToken binder.IBinder) error
RegisterCallback(ctx context.Context, callback ITvInteractiveAppManagerCallback) error
UnregisterCallback(ctx context.Context, callback ITvInteractiveAppManagerCallback) error
}
func NewTvInteractiveAppManagerStub ¶
func NewTvInteractiveAppManagerStub( impl ITvInteractiveAppManagerServer, ) ITvInteractiveAppManager
NewTvInteractiveAppManagerStub creates a server-side ITvInteractiveAppManager wrapping the given server implementation. The returned value satisfies ITvInteractiveAppManager 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 ITvInteractiveAppManagerCallback ¶
type ITvInteractiveAppManagerCallback interface {
AsBinder() binder.IBinder
OnInteractiveAppServiceAdded(ctx context.Context, iAppServiceId string) error
OnInteractiveAppServiceRemoved(ctx context.Context, iAppServiceId string) error
OnInteractiveAppServiceUpdated(ctx context.Context, iAppServiceId string) error
OnTvInteractiveAppServiceInfoUpdated(ctx context.Context, tvIAppInfo TvInteractiveAppServiceInfo) error
OnStateChanged(ctx context.Context, iAppServiceId string, type_ int32, state int32, err int32) error
}
func NewTvInteractiveAppManagerCallbackStub ¶
func NewTvInteractiveAppManagerCallbackStub( impl ITvInteractiveAppManagerCallbackServer, ) ITvInteractiveAppManagerCallback
NewTvInteractiveAppManagerCallbackStub creates a server-side ITvInteractiveAppManagerCallback wrapping the given server implementation. The returned value satisfies ITvInteractiveAppManagerCallback 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 ITvInteractiveAppManagerCallbackServer ¶
type ITvInteractiveAppManagerCallbackServer interface {
OnInteractiveAppServiceAdded(ctx context.Context, iAppServiceId string) error
OnInteractiveAppServiceRemoved(ctx context.Context, iAppServiceId string) error
OnInteractiveAppServiceUpdated(ctx context.Context, iAppServiceId string) error
OnTvInteractiveAppServiceInfoUpdated(ctx context.Context, tvIAppInfo TvInteractiveAppServiceInfo) error
OnStateChanged(ctx context.Context, iAppServiceId string, type_ int32, state int32, err int32) error
}
ITvInteractiveAppManagerCallbackServer is the server-side interface that user implementations provide to NewTvInteractiveAppManagerCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ITvInteractiveAppManagerServer ¶
type ITvInteractiveAppManagerServer interface {
GetTvInteractiveAppServiceList(ctx context.Context) ([]TvInteractiveAppServiceInfo, error)
GetAppLinkInfoList(ctx context.Context) ([]AppLinkInfo, error)
RegisterAppLinkInfo(ctx context.Context, tiasId string, info AppLinkInfo) error
UnregisterAppLinkInfo(ctx context.Context, tiasId string, info AppLinkInfo) error
SendAppLinkCommand(ctx context.Context, tiasId string, command os.Bundle) error
StartInteractiveApp(ctx context.Context, sessionToken binder.IBinder) error
StopInteractiveApp(ctx context.Context, sessionToken binder.IBinder) error
ResetInteractiveApp(ctx context.Context, sessionToken binder.IBinder) error
CreateBiInteractiveApp(ctx context.Context, sessionToken binder.IBinder, biIAppUri net.Uri, params os.Bundle) error
DestroyBiInteractiveApp(ctx context.Context, sessionToken binder.IBinder, biIAppId string) error
SetTeletextAppEnabled(ctx context.Context, sessionToken binder.IBinder, enable bool) error
SendCurrentVideoBounds(ctx context.Context, sessionToken binder.IBinder, bounds graphics.Rect) error
SendCurrentChannelUri(ctx context.Context, sessionToken binder.IBinder, channelUri net.Uri) error
SendCurrentChannelLcn(ctx context.Context, sessionToken binder.IBinder, lcn int32) error
SendStreamVolume(ctx context.Context, sessionToken binder.IBinder, volume float32) error
SendTrackInfoList(ctx context.Context, sessionToken binder.IBinder, tracks []tv.TvTrackInfo) error
SendCurrentTvInputId(ctx context.Context, sessionToken binder.IBinder, inputId string) error
SendTimeShiftMode(ctx context.Context, sessionToken binder.IBinder, mode int32) error
SendAvailableSpeeds(ctx context.Context, sessionToken binder.IBinder, speeds []float32) error
SendSigningResult(ctx context.Context, sessionToken binder.IBinder, signingId string, result []byte) error
SendCertificate(ctx context.Context, sessionToken binder.IBinder, host string, port int32, certBundle os.Bundle) error
SendTvRecordingInfo(ctx context.Context, sessionToken binder.IBinder, recordingInfo tv.TvRecordingInfo) error
SendTvRecordingInfoList(ctx context.Context, sessionToken binder.IBinder, recordingInfoList []tv.TvRecordingInfo) error
NotifyError(ctx context.Context, sessionToken binder.IBinder, errMsg string, params os.Bundle) error
NotifyTimeShiftPlaybackParams(ctx context.Context, sessionToken binder.IBinder, params media.PlaybackParams) error
NotifyTimeShiftStatusChanged(ctx context.Context, sessionToken binder.IBinder, inputId string, status int32) error
NotifyTimeShiftStartPositionChanged(ctx context.Context, sessionToken binder.IBinder, inputId string, timeMs int64) error
NotifyTimeShiftCurrentPositionChanged(ctx context.Context, sessionToken binder.IBinder, inputId string, timeMs int64) error
NotifyRecordingConnectionFailed(ctx context.Context, sessionToken binder.IBinder, recordingId string, inputId string) error
NotifyRecordingDisconnected(ctx context.Context, sessionToken binder.IBinder, recordingId string, inputId string) error
NotifyRecordingTuned(ctx context.Context, sessionToken binder.IBinder, recordingId string, channelUri net.Uri) error
NotifyRecordingError(ctx context.Context, sessionToken binder.IBinder, recordingId string, err int32) error
NotifyRecordingScheduled(ctx context.Context, sessionToken binder.IBinder, recordingId string, requestId string) error
CreateSession(ctx context.Context, client ITvInteractiveAppClient, iAppServiceId string, type_ int32, seq int32) error
ReleaseSession(ctx context.Context, sessionToken binder.IBinder) error
NotifyTuned(ctx context.Context, sessionToken binder.IBinder, channelUri net.Uri) error
NotifyTrackSelected(ctx context.Context, sessionToken binder.IBinder, type_ int32, trackId string) error
NotifyTracksChanged(ctx context.Context, sessionToken binder.IBinder, tracks []tv.TvTrackInfo) error
NotifyVideoAvailable(ctx context.Context, sessionToken binder.IBinder) error
NotifyVideoFreezeUpdated(ctx context.Context, sessionToken binder.IBinder, isFrozen bool) error
NotifyContentAllowed(ctx context.Context, sessionToken binder.IBinder) error
NotifyContentBlocked(ctx context.Context, sessionToken binder.IBinder, rating string) error
NotifySignalStrength(ctx context.Context, sessionToken binder.IBinder, stength int32) error
NotifyRecordingStarted(ctx context.Context, sessionToken binder.IBinder, recordingId string, requestId string) error
NotifyRecordingStopped(ctx context.Context, sessionToken binder.IBinder, recordingId string) error
NotifyTvMessage(ctx context.Context, sessionToken binder.IBinder, type_ int32, data os.Bundle) 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
NotifyBroadcastInfoResponse(ctx context.Context, sessionToken binder.IBinder, response tv.BroadcastInfoResponse, UserId int32) error
NotifyAdResponse(ctx context.Context, sessionToken binder.IBinder, response tv.AdResponse, UserId int32) error
NotifyAdBufferConsumed(ctx context.Context, sessionToken binder.IBinder, buffer tv.AdBuffer) error
SendSelectedTrackInfo(ctx context.Context, sessionToken binder.IBinder, tracks []tv.TvTrackInfo) error
CreateMediaView(ctx context.Context, sessionToken binder.IBinder, windowToken binder.IBinder, frame graphics.Rect) error
RelayoutMediaView(ctx context.Context, sessionToken binder.IBinder, frame graphics.Rect) error
RemoveMediaView(ctx context.Context, sessionToken binder.IBinder) error
RegisterCallback(ctx context.Context, callback ITvInteractiveAppManagerCallback) error
UnregisterCallback(ctx context.Context, callback ITvInteractiveAppManagerCallback) error
}
ITvInteractiveAppManagerServer is the server-side interface that user implementations provide to NewTvInteractiveAppManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ITvInteractiveAppService ¶
type ITvInteractiveAppService interface {
AsBinder() binder.IBinder
RegisterCallback(ctx context.Context, callback ITvInteractiveAppServiceCallback) error
UnregisterCallback(ctx context.Context, callback ITvInteractiveAppServiceCallback) error
CreateSession(ctx context.Context, channel view.InputChannel, callback ITvInteractiveAppSessionCallback, iAppServiceId string, type_ int32) error
RegisterAppLinkInfo(ctx context.Context, info AppLinkInfo) error
UnregisterAppLinkInfo(ctx context.Context, info AppLinkInfo) error
SendAppLinkCommand(ctx context.Context, command os.Bundle) error
}
func NewTvInteractiveAppServiceStub ¶
func NewTvInteractiveAppServiceStub( impl ITvInteractiveAppServiceServer, ) ITvInteractiveAppService
NewTvInteractiveAppServiceStub creates a server-side ITvInteractiveAppService wrapping the given server implementation. The returned value satisfies ITvInteractiveAppService 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 ITvInteractiveAppServiceCallback ¶
type ITvInteractiveAppServiceCallback interface {
AsBinder() binder.IBinder
OnStateChanged(ctx context.Context, type_ int32, state int32, error_ int32) error
}
func NewTvInteractiveAppServiceCallbackStub ¶
func NewTvInteractiveAppServiceCallbackStub( impl ITvInteractiveAppServiceCallbackServer, ) ITvInteractiveAppServiceCallback
NewTvInteractiveAppServiceCallbackStub creates a server-side ITvInteractiveAppServiceCallback wrapping the given server implementation. The returned value satisfies ITvInteractiveAppServiceCallback 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 ITvInteractiveAppServiceCallbackServer ¶
type ITvInteractiveAppServiceCallbackServer interface {
OnStateChanged(ctx context.Context, type_ int32, state int32, error_ int32) error
}
ITvInteractiveAppServiceCallbackServer is the server-side interface that user implementations provide to NewTvInteractiveAppServiceCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ITvInteractiveAppServiceServer ¶
type ITvInteractiveAppServiceServer interface {
RegisterCallback(ctx context.Context, callback ITvInteractiveAppServiceCallback) error
UnregisterCallback(ctx context.Context, callback ITvInteractiveAppServiceCallback) error
CreateSession(ctx context.Context, channel view.InputChannel, callback ITvInteractiveAppSessionCallback, iAppServiceId string, type_ int32) error
RegisterAppLinkInfo(ctx context.Context, info AppLinkInfo) error
UnregisterAppLinkInfo(ctx context.Context, info AppLinkInfo) error
SendAppLinkCommand(ctx context.Context, command os.Bundle) error
}
ITvInteractiveAppServiceServer is the server-side interface that user implementations provide to NewTvInteractiveAppServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ITvInteractiveAppSession ¶
type ITvInteractiveAppSession interface {
AsBinder() binder.IBinder
StartInteractiveApp(ctx context.Context) error
StopInteractiveApp(ctx context.Context) error
ResetInteractiveApp(ctx context.Context) error
CreateBiInteractiveApp(ctx context.Context, biIAppUri net.Uri, params os.Bundle) error
DestroyBiInteractiveApp(ctx context.Context, biIAppId string) error
SetTeletextAppEnabled(ctx context.Context, enable bool) error
SendCurrentVideoBounds(ctx context.Context, bounds graphics.Rect) error
SendCurrentChannelUri(ctx context.Context, channelUri net.Uri) error
SendCurrentChannelLcn(ctx context.Context, lcn int32) error
SendStreamVolume(ctx context.Context, volume float32) error
SendTrackInfoList(ctx context.Context, tracks []tv.TvTrackInfo) error
SendCurrentTvInputId(ctx context.Context, inputId string) error
SendTimeShiftMode(ctx context.Context, mode int32) error
SendAvailableSpeeds(ctx context.Context, speeds []float32) error
SendSigningResult(ctx context.Context, signingId string, result []byte) error
SendCertificate(ctx context.Context, host string, port int32, certBundle os.Bundle) error
SendTvRecordingInfo(ctx context.Context, recordingInfo tv.TvRecordingInfo) error
SendTvRecordingInfoList(ctx context.Context, recordingInfoList []tv.TvRecordingInfo) error
NotifyError(ctx context.Context, errMsg string, params os.Bundle) error
NotifyTimeShiftPlaybackParams(ctx context.Context, params media.PlaybackParams) error
NotifyTimeShiftStatusChanged(ctx context.Context, inputId string, status int32) error
NotifyTimeShiftStartPositionChanged(ctx context.Context, inputId string, timeMs int64) error
NotifyTimeShiftCurrentPositionChanged(ctx context.Context, inputId string, timeMs int64) error
NotifyRecordingConnectionFailed(ctx context.Context, recordingId string, inputId string) error
NotifyRecordingDisconnected(ctx context.Context, recordingId string, inputId string) error
NotifyRecordingTuned(ctx context.Context, recordingId string, channelUri net.Uri) error
NotifyRecordingError(ctx context.Context, recordingId string, err int32) error
NotifyRecordingScheduled(ctx context.Context, recordingId string, requestId string) error
Release(ctx context.Context) error
NotifyTuned(ctx context.Context, channelUri net.Uri) error
NotifyTrackSelected(ctx context.Context, type_ int32, trackId string) error
NotifyTracksChanged(ctx context.Context, tracks []tv.TvTrackInfo) error
NotifyVideoAvailable(ctx context.Context) error
NotifyVideoFreezeUpdated(ctx context.Context, isFrozen bool) error
NotifyContentAllowed(ctx context.Context) error
NotifyContentBlocked(ctx context.Context, rating string) error
NotifySignalStrength(ctx context.Context, strength int32) error
NotifyRecordingStarted(ctx context.Context, recordingId string, requestId string) error
NotifyRecordingStopped(ctx context.Context, recordingId string) error
NotifyTvMessage(ctx context.Context, type_ int32, data os.Bundle) error
SetSurface(ctx context.Context, surface view.Surface) error
DispatchSurfaceChanged(ctx context.Context, format int32, width int32, height int32) error
NotifyBroadcastInfoResponse(ctx context.Context, response tv.BroadcastInfoResponse) error
NotifyAdResponse(ctx context.Context, response tv.AdResponse) error
NotifyAdBufferConsumed(ctx context.Context, buffer tv.AdBuffer) error
SendSelectedTrackInfo(ctx context.Context, tracks []tv.TvTrackInfo) error
CreateMediaView(ctx context.Context, windowToken binder.IBinder, frame graphics.Rect) error
RelayoutMediaView(ctx context.Context, frame graphics.Rect) error
RemoveMediaView(ctx context.Context) error
}
func NewTvInteractiveAppSessionStub ¶
func NewTvInteractiveAppSessionStub( impl ITvInteractiveAppSessionServer, ) ITvInteractiveAppSession
NewTvInteractiveAppSessionStub creates a server-side ITvInteractiveAppSession wrapping the given server implementation. The returned value satisfies ITvInteractiveAppSession 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 ITvInteractiveAppSessionCallback ¶
type ITvInteractiveAppSessionCallback interface {
AsBinder() binder.IBinder
OnSessionCreated(ctx context.Context, session ITvInteractiveAppSession) error
OnLayoutSurface(ctx context.Context, left int32, top int32, right int32, bottom int32) error
OnBroadcastInfoRequest(ctx context.Context, request tv.BroadcastInfoRequest) error
OnRemoveBroadcastInfo(ctx context.Context, id int32) error
OnSessionStateChanged(ctx context.Context, state int32, err int32) error
OnBiInteractiveAppCreated(ctx context.Context, biIAppUri net.Uri, biIAppId string) error
OnTeletextAppStateChanged(ctx context.Context, state int32) error
OnAdBufferReady(ctx context.Context, buffer tv.AdBuffer) error
OnCommandRequest(ctx context.Context, cmdType string, parameters os.Bundle) error
OnTimeShiftCommandRequest(ctx context.Context, cmdType string, parameters os.Bundle) error
OnSetVideoBounds(ctx context.Context, rect graphics.Rect) error
OnRequestCurrentVideoBounds(ctx context.Context) error
OnRequestCurrentChannelUri(ctx context.Context) error
OnRequestCurrentChannelLcn(ctx context.Context) error
OnRequestStreamVolume(ctx context.Context) error
OnRequestTrackInfoList(ctx context.Context) error
OnRequestCurrentTvInputId(ctx context.Context) error
OnRequestTimeShiftMode(ctx context.Context) error
OnRequestAvailableSpeeds(ctx context.Context) error
OnRequestSelectedTrackInfo(ctx context.Context) error
OnRequestStartRecording(ctx context.Context, requestId string, programUri net.Uri) error
OnRequestStopRecording(ctx context.Context, recordingId string) error
OnRequestScheduleRecording(ctx context.Context, requestId string, inputId string, channelUri net.Uri, programUri net.Uri, params os.Bundle) error
OnRequestScheduleRecording2(ctx context.Context, requestId string, inputId string, channelUri net.Uri, start int64, duration int64, repeat int32, params os.Bundle) error
OnSetTvRecordingInfo(ctx context.Context, recordingId string, recordingInfo tv.TvRecordingInfo) error
OnRequestTvRecordingInfo(ctx context.Context, recordingId string) error
OnRequestTvRecordingInfoList(ctx context.Context, type_ int32) error
OnRequestSigning(ctx context.Context, id string, algorithm string, alias string, data []byte) error
OnRequestSigning2(ctx context.Context, id string, algorithm string, host string, port int32, data []byte) error
OnRequestCertificate(ctx context.Context, host string, port int32) error
OnAdRequest(ctx context.Context, request tv.AdRequest) error
}
func NewTvInteractiveAppSessionCallbackStub ¶
func NewTvInteractiveAppSessionCallbackStub( impl ITvInteractiveAppSessionCallbackServer, ) ITvInteractiveAppSessionCallback
NewTvInteractiveAppSessionCallbackStub creates a server-side ITvInteractiveAppSessionCallback wrapping the given server implementation. The returned value satisfies ITvInteractiveAppSessionCallback 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 ITvInteractiveAppSessionCallbackServer ¶
type ITvInteractiveAppSessionCallbackServer interface {
OnSessionCreated(ctx context.Context, session ITvInteractiveAppSession) error
OnLayoutSurface(ctx context.Context, left int32, top int32, right int32, bottom int32) error
OnBroadcastInfoRequest(ctx context.Context, request tv.BroadcastInfoRequest) error
OnRemoveBroadcastInfo(ctx context.Context, id int32) error
OnSessionStateChanged(ctx context.Context, state int32, err int32) error
OnBiInteractiveAppCreated(ctx context.Context, biIAppUri net.Uri, biIAppId string) error
OnTeletextAppStateChanged(ctx context.Context, state int32) error
OnAdBufferReady(ctx context.Context, buffer tv.AdBuffer) error
OnCommandRequest(ctx context.Context, cmdType string, parameters os.Bundle) error
OnTimeShiftCommandRequest(ctx context.Context, cmdType string, parameters os.Bundle) error
OnSetVideoBounds(ctx context.Context, rect graphics.Rect) error
OnRequestCurrentVideoBounds(ctx context.Context) error
OnRequestCurrentChannelUri(ctx context.Context) error
OnRequestCurrentChannelLcn(ctx context.Context) error
OnRequestStreamVolume(ctx context.Context) error
OnRequestTrackInfoList(ctx context.Context) error
OnRequestCurrentTvInputId(ctx context.Context) error
OnRequestTimeShiftMode(ctx context.Context) error
OnRequestAvailableSpeeds(ctx context.Context) error
OnRequestSelectedTrackInfo(ctx context.Context) error
OnRequestStartRecording(ctx context.Context, requestId string, programUri net.Uri) error
OnRequestStopRecording(ctx context.Context, recordingId string) error
OnRequestScheduleRecording(ctx context.Context, requestId string, inputId string, channelUri net.Uri, programUri net.Uri, params os.Bundle) error
OnRequestScheduleRecording2(ctx context.Context, requestId string, inputId string, channelUri net.Uri, start int64, duration int64, repeat int32, params os.Bundle) error
OnSetTvRecordingInfo(ctx context.Context, recordingId string, recordingInfo tv.TvRecordingInfo) error
OnRequestTvRecordingInfo(ctx context.Context, recordingId string) error
OnRequestTvRecordingInfoList(ctx context.Context, type_ int32) error
OnRequestSigning(ctx context.Context, id string, algorithm string, alias string, data []byte) error
OnRequestSigning2(ctx context.Context, id string, algorithm string, host string, port int32, data []byte) error
OnRequestCertificate(ctx context.Context, host string, port int32) error
OnAdRequest(ctx context.Context, request tv.AdRequest) error
}
ITvInteractiveAppSessionCallbackServer is the server-side interface that user implementations provide to NewTvInteractiveAppSessionCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ITvInteractiveAppSessionServer ¶
type ITvInteractiveAppSessionServer interface {
StartInteractiveApp(ctx context.Context) error
StopInteractiveApp(ctx context.Context) error
ResetInteractiveApp(ctx context.Context) error
CreateBiInteractiveApp(ctx context.Context, biIAppUri net.Uri, params os.Bundle) error
DestroyBiInteractiveApp(ctx context.Context, biIAppId string) error
SetTeletextAppEnabled(ctx context.Context, enable bool) error
SendCurrentVideoBounds(ctx context.Context, bounds graphics.Rect) error
SendCurrentChannelUri(ctx context.Context, channelUri net.Uri) error
SendCurrentChannelLcn(ctx context.Context, lcn int32) error
SendStreamVolume(ctx context.Context, volume float32) error
SendTrackInfoList(ctx context.Context, tracks []tv.TvTrackInfo) error
SendCurrentTvInputId(ctx context.Context, inputId string) error
SendTimeShiftMode(ctx context.Context, mode int32) error
SendAvailableSpeeds(ctx context.Context, speeds []float32) error
SendSigningResult(ctx context.Context, signingId string, result []byte) error
SendCertificate(ctx context.Context, host string, port int32, certBundle os.Bundle) error
SendTvRecordingInfo(ctx context.Context, recordingInfo tv.TvRecordingInfo) error
SendTvRecordingInfoList(ctx context.Context, recordingInfoList []tv.TvRecordingInfo) error
NotifyError(ctx context.Context, errMsg string, params os.Bundle) error
NotifyTimeShiftPlaybackParams(ctx context.Context, params media.PlaybackParams) error
NotifyTimeShiftStatusChanged(ctx context.Context, inputId string, status int32) error
NotifyTimeShiftStartPositionChanged(ctx context.Context, inputId string, timeMs int64) error
NotifyTimeShiftCurrentPositionChanged(ctx context.Context, inputId string, timeMs int64) error
NotifyRecordingConnectionFailed(ctx context.Context, recordingId string, inputId string) error
NotifyRecordingDisconnected(ctx context.Context, recordingId string, inputId string) error
NotifyRecordingTuned(ctx context.Context, recordingId string, channelUri net.Uri) error
NotifyRecordingError(ctx context.Context, recordingId string, err int32) error
NotifyRecordingScheduled(ctx context.Context, recordingId string, requestId string) error
Release(ctx context.Context) error
NotifyTuned(ctx context.Context, channelUri net.Uri) error
NotifyTrackSelected(ctx context.Context, type_ int32, trackId string) error
NotifyTracksChanged(ctx context.Context, tracks []tv.TvTrackInfo) error
NotifyVideoAvailable(ctx context.Context) error
NotifyVideoFreezeUpdated(ctx context.Context, isFrozen bool) error
NotifyContentAllowed(ctx context.Context) error
NotifyContentBlocked(ctx context.Context, rating string) error
NotifySignalStrength(ctx context.Context, strength int32) error
NotifyRecordingStarted(ctx context.Context, recordingId string, requestId string) error
NotifyRecordingStopped(ctx context.Context, recordingId string) error
NotifyTvMessage(ctx context.Context, type_ int32, data os.Bundle) error
SetSurface(ctx context.Context, surface view.Surface) error
DispatchSurfaceChanged(ctx context.Context, format int32, width int32, height int32) error
NotifyBroadcastInfoResponse(ctx context.Context, response tv.BroadcastInfoResponse) error
NotifyAdResponse(ctx context.Context, response tv.AdResponse) error
NotifyAdBufferConsumed(ctx context.Context, buffer tv.AdBuffer) error
SendSelectedTrackInfo(ctx context.Context, tracks []tv.TvTrackInfo) error
CreateMediaView(ctx context.Context, windowToken binder.IBinder, frame graphics.Rect) error
RelayoutMediaView(ctx context.Context, frame graphics.Rect) error
RemoveMediaView(ctx context.Context) error
}
ITvInteractiveAppSessionServer is the server-side interface that user implementations provide to NewTvInteractiveAppSessionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type TvInteractiveAppClientProxy ¶
func NewTvInteractiveAppClientProxy ¶
func NewTvInteractiveAppClientProxy( remote binder.IBinder, ) *TvInteractiveAppClientProxy
func (*TvInteractiveAppClientProxy) AsBinder ¶
func (p *TvInteractiveAppClientProxy) AsBinder() binder.IBinder
func (*TvInteractiveAppClientProxy) OnAdBufferReady ¶
func (*TvInteractiveAppClientProxy) OnAdRequest ¶
func (*TvInteractiveAppClientProxy) OnBiInteractiveAppCreated ¶
func (*TvInteractiveAppClientProxy) OnBroadcastInfoRequest ¶
func (p *TvInteractiveAppClientProxy) OnBroadcastInfoRequest( ctx context.Context, request tv.BroadcastInfoRequest, seq int32, ) error
func (*TvInteractiveAppClientProxy) OnCommandRequest ¶
func (*TvInteractiveAppClientProxy) OnLayoutSurface ¶
func (*TvInteractiveAppClientProxy) OnRemoveBroadcastInfo ¶
func (*TvInteractiveAppClientProxy) OnRequestAvailableSpeeds ¶
func (p *TvInteractiveAppClientProxy) OnRequestAvailableSpeeds( ctx context.Context, seq int32, ) error
func (*TvInteractiveAppClientProxy) OnRequestCertificate ¶
func (*TvInteractiveAppClientProxy) OnRequestCurrentChannelLcn ¶
func (p *TvInteractiveAppClientProxy) OnRequestCurrentChannelLcn( ctx context.Context, seq int32, ) error
func (*TvInteractiveAppClientProxy) OnRequestCurrentChannelUri ¶
func (p *TvInteractiveAppClientProxy) OnRequestCurrentChannelUri( ctx context.Context, seq int32, ) error
func (*TvInteractiveAppClientProxy) OnRequestCurrentTvInputId ¶
func (p *TvInteractiveAppClientProxy) OnRequestCurrentTvInputId( ctx context.Context, seq int32, ) error
func (*TvInteractiveAppClientProxy) OnRequestCurrentVideoBounds ¶
func (p *TvInteractiveAppClientProxy) OnRequestCurrentVideoBounds( ctx context.Context, seq int32, ) error
func (*TvInteractiveAppClientProxy) OnRequestScheduleRecording ¶
func (*TvInteractiveAppClientProxy) OnRequestScheduleRecording2 ¶
func (*TvInteractiveAppClientProxy) OnRequestSelectedTrackInfo ¶
func (p *TvInteractiveAppClientProxy) OnRequestSelectedTrackInfo( ctx context.Context, seq int32, ) error
func (*TvInteractiveAppClientProxy) OnRequestSigning ¶
func (*TvInteractiveAppClientProxy) OnRequestSigning2 ¶
func (*TvInteractiveAppClientProxy) OnRequestStartRecording ¶
func (*TvInteractiveAppClientProxy) OnRequestStopRecording ¶
func (*TvInteractiveAppClientProxy) OnRequestStreamVolume ¶
func (p *TvInteractiveAppClientProxy) OnRequestStreamVolume( ctx context.Context, seq int32, ) error
func (*TvInteractiveAppClientProxy) OnRequestTimeShiftMode ¶
func (p *TvInteractiveAppClientProxy) OnRequestTimeShiftMode( ctx context.Context, seq int32, ) error
func (*TvInteractiveAppClientProxy) OnRequestTrackInfoList ¶
func (p *TvInteractiveAppClientProxy) OnRequestTrackInfoList( ctx context.Context, seq int32, ) error
func (*TvInteractiveAppClientProxy) OnRequestTvRecordingInfo ¶
func (*TvInteractiveAppClientProxy) OnRequestTvRecordingInfoList ¶
func (*TvInteractiveAppClientProxy) OnSessionCreated ¶
func (p *TvInteractiveAppClientProxy) OnSessionCreated( ctx context.Context, iAppServiceId string, token binder.IBinder, channel view.InputChannel, seq int32, ) error
func (*TvInteractiveAppClientProxy) OnSessionReleased ¶
func (p *TvInteractiveAppClientProxy) OnSessionReleased( ctx context.Context, seq int32, ) error
func (*TvInteractiveAppClientProxy) OnSessionStateChanged ¶
func (*TvInteractiveAppClientProxy) OnSetTvRecordingInfo ¶
func (p *TvInteractiveAppClientProxy) OnSetTvRecordingInfo( ctx context.Context, recordingId string, recordingInfo tv.TvRecordingInfo, seq int32, ) error
func (*TvInteractiveAppClientProxy) OnSetVideoBounds ¶
func (*TvInteractiveAppClientProxy) OnTeletextAppStateChanged ¶
func (*TvInteractiveAppClientProxy) OnTimeShiftCommandRequest ¶
type TvInteractiveAppClientStub ¶
type TvInteractiveAppClientStub struct {
Impl ITvInteractiveAppClient
Transport binder.VersionAwareTransport
}
TvInteractiveAppClientStub dispatches incoming binder transactions to a typed ITvInteractiveAppClient implementation.
func (*TvInteractiveAppClientStub) Descriptor ¶
func (s *TvInteractiveAppClientStub) Descriptor() string
func (*TvInteractiveAppClientStub) OnTransaction ¶
func (s *TvInteractiveAppClientStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type TvInteractiveAppManagerCallbackProxy ¶
func NewTvInteractiveAppManagerCallbackProxy ¶
func NewTvInteractiveAppManagerCallbackProxy( remote binder.IBinder, ) *TvInteractiveAppManagerCallbackProxy
func (*TvInteractiveAppManagerCallbackProxy) AsBinder ¶
func (p *TvInteractiveAppManagerCallbackProxy) AsBinder() binder.IBinder
func (*TvInteractiveAppManagerCallbackProxy) OnInteractiveAppServiceAdded ¶
func (p *TvInteractiveAppManagerCallbackProxy) OnInteractiveAppServiceAdded( ctx context.Context, iAppServiceId string, ) error
func (*TvInteractiveAppManagerCallbackProxy) OnInteractiveAppServiceRemoved ¶
func (p *TvInteractiveAppManagerCallbackProxy) OnInteractiveAppServiceRemoved( ctx context.Context, iAppServiceId string, ) error
func (*TvInteractiveAppManagerCallbackProxy) OnInteractiveAppServiceUpdated ¶
func (p *TvInteractiveAppManagerCallbackProxy) OnInteractiveAppServiceUpdated( ctx context.Context, iAppServiceId string, ) error
func (*TvInteractiveAppManagerCallbackProxy) OnStateChanged ¶
func (*TvInteractiveAppManagerCallbackProxy) OnTvInteractiveAppServiceInfoUpdated ¶
func (p *TvInteractiveAppManagerCallbackProxy) OnTvInteractiveAppServiceInfoUpdated( ctx context.Context, tvIAppInfo TvInteractiveAppServiceInfo, ) error
type TvInteractiveAppManagerCallbackStub ¶
type TvInteractiveAppManagerCallbackStub struct {
Impl ITvInteractiveAppManagerCallback
Transport binder.VersionAwareTransport
}
TvInteractiveAppManagerCallbackStub dispatches incoming binder transactions to a typed ITvInteractiveAppManagerCallback implementation.
func (*TvInteractiveAppManagerCallbackStub) Descriptor ¶
func (s *TvInteractiveAppManagerCallbackStub) Descriptor() string
func (*TvInteractiveAppManagerCallbackStub) OnTransaction ¶
func (s *TvInteractiveAppManagerCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type TvInteractiveAppManagerProxy ¶
func GetTvInteractiveAppManager ¶
func GetTvInteractiveAppManager( ctx context.Context, sm *servicemanager.ServiceManager, ) (*TvInteractiveAppManagerProxy, error)
GetTvInteractiveAppManager retrieves the TvInteractiveAppService service and returns a typed proxy.
func NewTvInteractiveAppManagerProxy ¶
func NewTvInteractiveAppManagerProxy( remote binder.IBinder, ) *TvInteractiveAppManagerProxy
func (*TvInteractiveAppManagerProxy) AsBinder ¶
func (p *TvInteractiveAppManagerProxy) AsBinder() binder.IBinder
func (*TvInteractiveAppManagerProxy) CreateBiInteractiveApp ¶
func (*TvInteractiveAppManagerProxy) CreateMediaView ¶
func (*TvInteractiveAppManagerProxy) CreateSession ¶
func (p *TvInteractiveAppManagerProxy) CreateSession( ctx context.Context, client ITvInteractiveAppClient, iAppServiceId string, type_ int32, seq int32, ) error
func (*TvInteractiveAppManagerProxy) DestroyBiInteractiveApp ¶
func (*TvInteractiveAppManagerProxy) DispatchSurfaceChanged ¶
func (*TvInteractiveAppManagerProxy) GetAppLinkInfoList ¶
func (p *TvInteractiveAppManagerProxy) GetAppLinkInfoList( ctx context.Context, ) ([]AppLinkInfo, error)
func (*TvInteractiveAppManagerProxy) GetTvInteractiveAppServiceList ¶
func (p *TvInteractiveAppManagerProxy) GetTvInteractiveAppServiceList( ctx context.Context, ) ([]TvInteractiveAppServiceInfo, error)
func (*TvInteractiveAppManagerProxy) NotifyAdBufferConsumed ¶
func (*TvInteractiveAppManagerProxy) NotifyAdResponse ¶
func (p *TvInteractiveAppManagerProxy) NotifyAdResponse( ctx context.Context, sessionToken binder.IBinder, response tv.AdResponse, UserId int32, ) error
func (*TvInteractiveAppManagerProxy) NotifyBroadcastInfoResponse ¶
func (p *TvInteractiveAppManagerProxy) NotifyBroadcastInfoResponse( ctx context.Context, sessionToken binder.IBinder, response tv.BroadcastInfoResponse, UserId int32, ) error
func (*TvInteractiveAppManagerProxy) NotifyContentAllowed ¶
func (*TvInteractiveAppManagerProxy) NotifyContentBlocked ¶
func (*TvInteractiveAppManagerProxy) NotifyError ¶
func (*TvInteractiveAppManagerProxy) NotifyRecordingConnectionFailed ¶
func (*TvInteractiveAppManagerProxy) NotifyRecordingDisconnected ¶
func (*TvInteractiveAppManagerProxy) NotifyRecordingError ¶
func (*TvInteractiveAppManagerProxy) NotifyRecordingScheduled ¶
func (*TvInteractiveAppManagerProxy) NotifyRecordingStarted ¶
func (*TvInteractiveAppManagerProxy) NotifyRecordingStopped ¶
func (*TvInteractiveAppManagerProxy) NotifyRecordingTuned ¶
func (*TvInteractiveAppManagerProxy) NotifySignalStrength ¶
func (*TvInteractiveAppManagerProxy) NotifyTimeShiftCurrentPositionChanged ¶
func (*TvInteractiveAppManagerProxy) NotifyTimeShiftPlaybackParams ¶
func (p *TvInteractiveAppManagerProxy) NotifyTimeShiftPlaybackParams( ctx context.Context, sessionToken binder.IBinder, params media.PlaybackParams, ) error
func (*TvInteractiveAppManagerProxy) NotifyTimeShiftStartPositionChanged ¶
func (*TvInteractiveAppManagerProxy) NotifyTimeShiftStatusChanged ¶
func (*TvInteractiveAppManagerProxy) NotifyTrackSelected ¶
func (*TvInteractiveAppManagerProxy) NotifyTracksChanged ¶
func (p *TvInteractiveAppManagerProxy) NotifyTracksChanged( ctx context.Context, sessionToken binder.IBinder, tracks []tv.TvTrackInfo, ) error
func (*TvInteractiveAppManagerProxy) NotifyTuned ¶
func (*TvInteractiveAppManagerProxy) NotifyTvMessage ¶
func (*TvInteractiveAppManagerProxy) NotifyVideoAvailable ¶
func (*TvInteractiveAppManagerProxy) NotifyVideoFreezeUpdated ¶
func (*TvInteractiveAppManagerProxy) NotifyVideoUnavailable ¶
func (*TvInteractiveAppManagerProxy) RegisterAppLinkInfo ¶
func (p *TvInteractiveAppManagerProxy) RegisterAppLinkInfo( ctx context.Context, tiasId string, info AppLinkInfo, ) error
func (*TvInteractiveAppManagerProxy) RegisterCallback ¶
func (p *TvInteractiveAppManagerProxy) RegisterCallback( ctx context.Context, callback ITvInteractiveAppManagerCallback, ) error
func (*TvInteractiveAppManagerProxy) RelayoutMediaView ¶
func (*TvInteractiveAppManagerProxy) ReleaseSession ¶
func (*TvInteractiveAppManagerProxy) RemoveMediaView ¶
func (*TvInteractiveAppManagerProxy) ResetInteractiveApp ¶
func (*TvInteractiveAppManagerProxy) SendAppLinkCommand ¶
func (*TvInteractiveAppManagerProxy) SendAvailableSpeeds ¶
func (*TvInteractiveAppManagerProxy) SendCertificate ¶
func (*TvInteractiveAppManagerProxy) SendCurrentChannelLcn ¶
func (*TvInteractiveAppManagerProxy) SendCurrentChannelUri ¶
func (*TvInteractiveAppManagerProxy) SendCurrentTvInputId ¶
func (*TvInteractiveAppManagerProxy) SendCurrentVideoBounds ¶
func (*TvInteractiveAppManagerProxy) SendSelectedTrackInfo ¶
func (p *TvInteractiveAppManagerProxy) SendSelectedTrackInfo( ctx context.Context, sessionToken binder.IBinder, tracks []tv.TvTrackInfo, ) error
func (*TvInteractiveAppManagerProxy) SendSigningResult ¶
func (*TvInteractiveAppManagerProxy) SendStreamVolume ¶
func (*TvInteractiveAppManagerProxy) SendTimeShiftMode ¶
func (*TvInteractiveAppManagerProxy) SendTrackInfoList ¶
func (p *TvInteractiveAppManagerProxy) SendTrackInfoList( ctx context.Context, sessionToken binder.IBinder, tracks []tv.TvTrackInfo, ) error
func (*TvInteractiveAppManagerProxy) SendTvRecordingInfo ¶
func (p *TvInteractiveAppManagerProxy) SendTvRecordingInfo( ctx context.Context, sessionToken binder.IBinder, recordingInfo tv.TvRecordingInfo, ) error
func (*TvInteractiveAppManagerProxy) SendTvRecordingInfoList ¶
func (p *TvInteractiveAppManagerProxy) SendTvRecordingInfoList( ctx context.Context, sessionToken binder.IBinder, recordingInfoList []tv.TvRecordingInfo, ) error
func (*TvInteractiveAppManagerProxy) SetSurface ¶
func (*TvInteractiveAppManagerProxy) SetTeletextAppEnabled ¶
func (*TvInteractiveAppManagerProxy) StartInteractiveApp ¶
func (*TvInteractiveAppManagerProxy) StopInteractiveApp ¶
func (*TvInteractiveAppManagerProxy) UnregisterAppLinkInfo ¶
func (p *TvInteractiveAppManagerProxy) UnregisterAppLinkInfo( ctx context.Context, tiasId string, info AppLinkInfo, ) error
func (*TvInteractiveAppManagerProxy) UnregisterCallback ¶
func (p *TvInteractiveAppManagerProxy) UnregisterCallback( ctx context.Context, callback ITvInteractiveAppManagerCallback, ) error
type TvInteractiveAppManagerStub ¶
type TvInteractiveAppManagerStub struct {
Impl ITvInteractiveAppManager
Transport binder.VersionAwareTransport
}
TvInteractiveAppManagerStub dispatches incoming binder transactions to a typed ITvInteractiveAppManager implementation.
func (*TvInteractiveAppManagerStub) Descriptor ¶
func (s *TvInteractiveAppManagerStub) Descriptor() string
func (*TvInteractiveAppManagerStub) OnTransaction ¶
func (s *TvInteractiveAppManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type TvInteractiveAppServiceCallbackProxy ¶
func NewTvInteractiveAppServiceCallbackProxy ¶
func NewTvInteractiveAppServiceCallbackProxy( remote binder.IBinder, ) *TvInteractiveAppServiceCallbackProxy
func (*TvInteractiveAppServiceCallbackProxy) AsBinder ¶
func (p *TvInteractiveAppServiceCallbackProxy) AsBinder() binder.IBinder
func (*TvInteractiveAppServiceCallbackProxy) OnStateChanged ¶
type TvInteractiveAppServiceCallbackStub ¶
type TvInteractiveAppServiceCallbackStub struct {
Impl ITvInteractiveAppServiceCallback
Transport binder.VersionAwareTransport
}
TvInteractiveAppServiceCallbackStub dispatches incoming binder transactions to a typed ITvInteractiveAppServiceCallback implementation.
func (*TvInteractiveAppServiceCallbackStub) Descriptor ¶
func (s *TvInteractiveAppServiceCallbackStub) Descriptor() string
func (*TvInteractiveAppServiceCallbackStub) OnTransaction ¶
func (s *TvInteractiveAppServiceCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type TvInteractiveAppServiceInfo ¶
func (*TvInteractiveAppServiceInfo) MarshalParcel ¶
func (s *TvInteractiveAppServiceInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*TvInteractiveAppServiceInfo) UnmarshalParcel ¶
func (s *TvInteractiveAppServiceInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type TvInteractiveAppServiceProxy ¶
func NewTvInteractiveAppServiceProxy ¶
func NewTvInteractiveAppServiceProxy( remote binder.IBinder, ) *TvInteractiveAppServiceProxy
func (*TvInteractiveAppServiceProxy) AsBinder ¶
func (p *TvInteractiveAppServiceProxy) AsBinder() binder.IBinder
func (*TvInteractiveAppServiceProxy) CreateSession ¶
func (p *TvInteractiveAppServiceProxy) CreateSession( ctx context.Context, channel view.InputChannel, callback ITvInteractiveAppSessionCallback, iAppServiceId string, type_ int32, ) error
func (*TvInteractiveAppServiceProxy) RegisterAppLinkInfo ¶
func (p *TvInteractiveAppServiceProxy) RegisterAppLinkInfo( ctx context.Context, info AppLinkInfo, ) error
func (*TvInteractiveAppServiceProxy) RegisterCallback ¶
func (p *TvInteractiveAppServiceProxy) RegisterCallback( ctx context.Context, callback ITvInteractiveAppServiceCallback, ) error
func (*TvInteractiveAppServiceProxy) SendAppLinkCommand ¶
func (*TvInteractiveAppServiceProxy) UnregisterAppLinkInfo ¶
func (p *TvInteractiveAppServiceProxy) UnregisterAppLinkInfo( ctx context.Context, info AppLinkInfo, ) error
func (*TvInteractiveAppServiceProxy) UnregisterCallback ¶
func (p *TvInteractiveAppServiceProxy) UnregisterCallback( ctx context.Context, callback ITvInteractiveAppServiceCallback, ) error
type TvInteractiveAppServiceStub ¶
type TvInteractiveAppServiceStub struct {
Impl ITvInteractiveAppService
Transport binder.VersionAwareTransport
}
TvInteractiveAppServiceStub dispatches incoming binder transactions to a typed ITvInteractiveAppService implementation.
func (*TvInteractiveAppServiceStub) Descriptor ¶
func (s *TvInteractiveAppServiceStub) Descriptor() string
func (*TvInteractiveAppServiceStub) OnTransaction ¶
func (s *TvInteractiveAppServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type TvInteractiveAppSessionCallbackProxy ¶
func NewTvInteractiveAppSessionCallbackProxy ¶
func NewTvInteractiveAppSessionCallbackProxy( remote binder.IBinder, ) *TvInteractiveAppSessionCallbackProxy
func (*TvInteractiveAppSessionCallbackProxy) AsBinder ¶
func (p *TvInteractiveAppSessionCallbackProxy) AsBinder() binder.IBinder
func (*TvInteractiveAppSessionCallbackProxy) OnAdBufferReady ¶
func (*TvInteractiveAppSessionCallbackProxy) OnAdRequest ¶
func (*TvInteractiveAppSessionCallbackProxy) OnBiInteractiveAppCreated ¶
func (*TvInteractiveAppSessionCallbackProxy) OnBroadcastInfoRequest ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnBroadcastInfoRequest( ctx context.Context, request tv.BroadcastInfoRequest, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnCommandRequest ¶
func (*TvInteractiveAppSessionCallbackProxy) OnLayoutSurface ¶
func (*TvInteractiveAppSessionCallbackProxy) OnRemoveBroadcastInfo ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnRemoveBroadcastInfo( ctx context.Context, id int32, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnRequestAvailableSpeeds ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnRequestAvailableSpeeds( ctx context.Context, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnRequestCertificate ¶
func (*TvInteractiveAppSessionCallbackProxy) OnRequestCurrentChannelLcn ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnRequestCurrentChannelLcn( ctx context.Context, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnRequestCurrentChannelUri ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnRequestCurrentChannelUri( ctx context.Context, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnRequestCurrentTvInputId ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnRequestCurrentTvInputId( ctx context.Context, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnRequestCurrentVideoBounds ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnRequestCurrentVideoBounds( ctx context.Context, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnRequestScheduleRecording ¶
func (*TvInteractiveAppSessionCallbackProxy) OnRequestScheduleRecording2 ¶
func (*TvInteractiveAppSessionCallbackProxy) OnRequestSelectedTrackInfo ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnRequestSelectedTrackInfo( ctx context.Context, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnRequestSigning ¶
func (*TvInteractiveAppSessionCallbackProxy) OnRequestSigning2 ¶
func (*TvInteractiveAppSessionCallbackProxy) OnRequestStartRecording ¶
func (*TvInteractiveAppSessionCallbackProxy) OnRequestStopRecording ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnRequestStopRecording( ctx context.Context, recordingId string, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnRequestStreamVolume ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnRequestStreamVolume( ctx context.Context, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnRequestTimeShiftMode ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnRequestTimeShiftMode( ctx context.Context, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnRequestTrackInfoList ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnRequestTrackInfoList( ctx context.Context, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnRequestTvRecordingInfo ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnRequestTvRecordingInfo( ctx context.Context, recordingId string, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnRequestTvRecordingInfoList ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnRequestTvRecordingInfoList( ctx context.Context, type_ int32, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnSessionCreated ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnSessionCreated( ctx context.Context, session ITvInteractiveAppSession, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnSessionStateChanged ¶
func (*TvInteractiveAppSessionCallbackProxy) OnSetTvRecordingInfo ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnSetTvRecordingInfo( ctx context.Context, recordingId string, recordingInfo tv.TvRecordingInfo, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnSetVideoBounds ¶
func (*TvInteractiveAppSessionCallbackProxy) OnTeletextAppStateChanged ¶
func (p *TvInteractiveAppSessionCallbackProxy) OnTeletextAppStateChanged( ctx context.Context, state int32, ) error
func (*TvInteractiveAppSessionCallbackProxy) OnTimeShiftCommandRequest ¶
type TvInteractiveAppSessionCallbackStub ¶
type TvInteractiveAppSessionCallbackStub struct {
Impl ITvInteractiveAppSessionCallback
Transport binder.VersionAwareTransport
}
TvInteractiveAppSessionCallbackStub dispatches incoming binder transactions to a typed ITvInteractiveAppSessionCallback implementation.
func (*TvInteractiveAppSessionCallbackStub) Descriptor ¶
func (s *TvInteractiveAppSessionCallbackStub) Descriptor() string
func (*TvInteractiveAppSessionCallbackStub) OnTransaction ¶
func (s *TvInteractiveAppSessionCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type TvInteractiveAppSessionProxy ¶
func NewTvInteractiveAppSessionProxy ¶
func NewTvInteractiveAppSessionProxy( remote binder.IBinder, ) *TvInteractiveAppSessionProxy
func (*TvInteractiveAppSessionProxy) AsBinder ¶
func (p *TvInteractiveAppSessionProxy) AsBinder() binder.IBinder
func (*TvInteractiveAppSessionProxy) CreateBiInteractiveApp ¶
func (*TvInteractiveAppSessionProxy) CreateMediaView ¶
func (*TvInteractiveAppSessionProxy) DestroyBiInteractiveApp ¶
func (p *TvInteractiveAppSessionProxy) DestroyBiInteractiveApp( ctx context.Context, biIAppId string, ) error
func (*TvInteractiveAppSessionProxy) DispatchSurfaceChanged ¶
func (*TvInteractiveAppSessionProxy) NotifyAdBufferConsumed ¶
func (*TvInteractiveAppSessionProxy) NotifyAdResponse ¶
func (p *TvInteractiveAppSessionProxy) NotifyAdResponse( ctx context.Context, response tv.AdResponse, ) error
func (*TvInteractiveAppSessionProxy) NotifyBroadcastInfoResponse ¶
func (p *TvInteractiveAppSessionProxy) NotifyBroadcastInfoResponse( ctx context.Context, response tv.BroadcastInfoResponse, ) error
func (*TvInteractiveAppSessionProxy) NotifyContentAllowed ¶
func (p *TvInteractiveAppSessionProxy) NotifyContentAllowed( ctx context.Context, ) error
func (*TvInteractiveAppSessionProxy) NotifyContentBlocked ¶
func (p *TvInteractiveAppSessionProxy) NotifyContentBlocked( ctx context.Context, rating string, ) error
func (*TvInteractiveAppSessionProxy) NotifyError ¶
func (*TvInteractiveAppSessionProxy) NotifyRecordingConnectionFailed ¶
func (*TvInteractiveAppSessionProxy) NotifyRecordingDisconnected ¶
func (*TvInteractiveAppSessionProxy) NotifyRecordingError ¶
func (*TvInteractiveAppSessionProxy) NotifyRecordingScheduled ¶
func (*TvInteractiveAppSessionProxy) NotifyRecordingStarted ¶
func (*TvInteractiveAppSessionProxy) NotifyRecordingStopped ¶
func (p *TvInteractiveAppSessionProxy) NotifyRecordingStopped( ctx context.Context, recordingId string, ) error
func (*TvInteractiveAppSessionProxy) NotifyRecordingTuned ¶
func (*TvInteractiveAppSessionProxy) NotifySignalStrength ¶
func (p *TvInteractiveAppSessionProxy) NotifySignalStrength( ctx context.Context, strength int32, ) error
func (*TvInteractiveAppSessionProxy) NotifyTimeShiftCurrentPositionChanged ¶
func (*TvInteractiveAppSessionProxy) NotifyTimeShiftPlaybackParams ¶
func (p *TvInteractiveAppSessionProxy) NotifyTimeShiftPlaybackParams( ctx context.Context, params media.PlaybackParams, ) error
func (*TvInteractiveAppSessionProxy) NotifyTimeShiftStartPositionChanged ¶
func (*TvInteractiveAppSessionProxy) NotifyTimeShiftStatusChanged ¶
func (*TvInteractiveAppSessionProxy) NotifyTrackSelected ¶
func (*TvInteractiveAppSessionProxy) NotifyTracksChanged ¶
func (p *TvInteractiveAppSessionProxy) NotifyTracksChanged( ctx context.Context, tracks []tv.TvTrackInfo, ) error
func (*TvInteractiveAppSessionProxy) NotifyTuned ¶
func (*TvInteractiveAppSessionProxy) NotifyTvMessage ¶
func (*TvInteractiveAppSessionProxy) NotifyVideoAvailable ¶
func (p *TvInteractiveAppSessionProxy) NotifyVideoAvailable( ctx context.Context, ) error
func (*TvInteractiveAppSessionProxy) NotifyVideoFreezeUpdated ¶
func (p *TvInteractiveAppSessionProxy) NotifyVideoFreezeUpdated( ctx context.Context, isFrozen bool, ) error
func (*TvInteractiveAppSessionProxy) NotifyVideoUnavailable ¶
func (p *TvInteractiveAppSessionProxy) NotifyVideoUnavailable( ctx context.Context, reason int32, ) error
func (*TvInteractiveAppSessionProxy) RelayoutMediaView ¶
func (*TvInteractiveAppSessionProxy) Release ¶
func (p *TvInteractiveAppSessionProxy) Release( ctx context.Context, ) error
func (*TvInteractiveAppSessionProxy) RemoveMediaView ¶
func (p *TvInteractiveAppSessionProxy) RemoveMediaView( ctx context.Context, ) error
func (*TvInteractiveAppSessionProxy) ResetInteractiveApp ¶
func (p *TvInteractiveAppSessionProxy) ResetInteractiveApp( ctx context.Context, ) error
func (*TvInteractiveAppSessionProxy) SendAvailableSpeeds ¶
func (p *TvInteractiveAppSessionProxy) SendAvailableSpeeds( ctx context.Context, speeds []float32, ) error
func (*TvInteractiveAppSessionProxy) SendCertificate ¶
func (*TvInteractiveAppSessionProxy) SendCurrentChannelLcn ¶
func (p *TvInteractiveAppSessionProxy) SendCurrentChannelLcn( ctx context.Context, lcn int32, ) error
func (*TvInteractiveAppSessionProxy) SendCurrentChannelUri ¶
func (*TvInteractiveAppSessionProxy) SendCurrentTvInputId ¶
func (p *TvInteractiveAppSessionProxy) SendCurrentTvInputId( ctx context.Context, inputId string, ) error
func (*TvInteractiveAppSessionProxy) SendCurrentVideoBounds ¶
func (*TvInteractiveAppSessionProxy) SendSelectedTrackInfo ¶
func (p *TvInteractiveAppSessionProxy) SendSelectedTrackInfo( ctx context.Context, tracks []tv.TvTrackInfo, ) error
func (*TvInteractiveAppSessionProxy) SendSigningResult ¶
func (*TvInteractiveAppSessionProxy) SendStreamVolume ¶
func (p *TvInteractiveAppSessionProxy) SendStreamVolume( ctx context.Context, volume float32, ) error
func (*TvInteractiveAppSessionProxy) SendTimeShiftMode ¶
func (p *TvInteractiveAppSessionProxy) SendTimeShiftMode( ctx context.Context, mode int32, ) error
func (*TvInteractiveAppSessionProxy) SendTrackInfoList ¶
func (p *TvInteractiveAppSessionProxy) SendTrackInfoList( ctx context.Context, tracks []tv.TvTrackInfo, ) error
func (*TvInteractiveAppSessionProxy) SendTvRecordingInfo ¶
func (p *TvInteractiveAppSessionProxy) SendTvRecordingInfo( ctx context.Context, recordingInfo tv.TvRecordingInfo, ) error
func (*TvInteractiveAppSessionProxy) SendTvRecordingInfoList ¶
func (p *TvInteractiveAppSessionProxy) SendTvRecordingInfoList( ctx context.Context, recordingInfoList []tv.TvRecordingInfo, ) error
func (*TvInteractiveAppSessionProxy) SetSurface ¶
func (*TvInteractiveAppSessionProxy) SetTeletextAppEnabled ¶
func (p *TvInteractiveAppSessionProxy) SetTeletextAppEnabled( ctx context.Context, enable bool, ) error
func (*TvInteractiveAppSessionProxy) StartInteractiveApp ¶
func (p *TvInteractiveAppSessionProxy) StartInteractiveApp( ctx context.Context, ) error
func (*TvInteractiveAppSessionProxy) StopInteractiveApp ¶
func (p *TvInteractiveAppSessionProxy) StopInteractiveApp( ctx context.Context, ) error
type TvInteractiveAppSessionStub ¶
type TvInteractiveAppSessionStub struct {
Impl ITvInteractiveAppSession
Transport binder.VersionAwareTransport
}
TvInteractiveAppSessionStub dispatches incoming binder transactions to a typed ITvInteractiveAppSession implementation.
func (*TvInteractiveAppSessionStub) Descriptor ¶
func (s *TvInteractiveAppSessionStub) Descriptor() string
func (*TvInteractiveAppSessionStub) OnTransaction ¶
func (s *TvInteractiveAppSessionStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)