Versions in this module Expand all Collapse all v0 v0.0.6 Mar 29, 2026 Changes in this version + type TvAdManagerClient struct + func NewTvAdManagerClient(cc grpc.ClientConnInterface) *TvAdManagerClient + func (c *TvAdManagerClient) GetTvAdServiceList(ctx context.Context) (int64, error) + func (c *TvAdManagerClient) RegisterCallback(ctx context.Context, arg0 int64, arg1 int64) error + func (c *TvAdManagerClient) SendAppLinkCommand(ctx context.Context, arg0 string, arg1 int64) error + func (c *TvAdManagerClient) UnregisterCallback(ctx context.Context, arg0 int64) error + type TvAdManagerTvAdServiceCallbackClient struct + func NewTvAdManagerTvAdServiceCallbackClient(cc grpc.ClientConnInterface) *TvAdManagerTvAdServiceCallbackClient + func (c *TvAdManagerTvAdServiceCallbackClient) OnAdServiceAdded(ctx context.Context, arg0 string) error + func (c *TvAdManagerTvAdServiceCallbackClient) OnAdServiceRemoved(ctx context.Context, arg0 string) error + func (c *TvAdManagerTvAdServiceCallbackClient) OnAdServiceUpdated(ctx context.Context, arg0 string) error + type TvAdServiceClient struct + func NewTvAdServiceClient(cc grpc.ClientConnInterface) *TvAdServiceClient + func (c *TvAdServiceClient) OnAppLinkCommand(ctx context.Context, arg0 int64) error + func (c *TvAdServiceClient) OnBind(ctx context.Context, arg0 int64) (int64, error) + func (c *TvAdServiceClient) OnCreateSession(ctx context.Context, arg0 string, arg1 string) (int64, error) + type TvAdServiceInfoClient struct + func NewTvAdServiceInfoClient(cc grpc.ClientConnInterface) *TvAdServiceInfoClient + func (c *TvAdServiceInfoClient) DescribeContents(ctx context.Context, handle int64) (int32, error) + func (c *TvAdServiceInfoClient) GetId(ctx context.Context, handle int64) (string, error) + func (c *TvAdServiceInfoClient) GetServiceInfo(ctx context.Context, handle int64) (int64, error) + func (c *TvAdServiceInfoClient) GetSupportedTypes(ctx context.Context, handle int64) (int64, error) + func (c *TvAdServiceInfoClient) WriteToParcel(ctx context.Context, handle int64, arg0 int64, arg1 int32) error + type TvAdServiceSessionClient struct + func NewTvAdServiceSessionClient(cc grpc.ClientConnInterface) *TvAdServiceSessionClient + func (c *TvAdServiceSessionClient) IsMediaViewEnabled(ctx context.Context) (bool, error) + func (c *TvAdServiceSessionClient) LayoutSurface(ctx context.Context, arg0 int32, arg1 int32, arg2 int32, arg3 int32) error + func (c *TvAdServiceSessionClient) NotifySessionStateChanged(ctx context.Context, arg0 int32, arg1 int32) error + func (c *TvAdServiceSessionClient) OnCreateMediaView(ctx context.Context) (int64, error) + func (c *TvAdServiceSessionClient) OnCurrentChannelUri(ctx context.Context, arg0 int64) error + func (c *TvAdServiceSessionClient) OnCurrentTvInputId(ctx context.Context, arg0 string) error + func (c *TvAdServiceSessionClient) OnCurrentVideoBounds(ctx context.Context, arg0 int64) error + func (c *TvAdServiceSessionClient) OnError(ctx context.Context, arg0 string, arg1 int64) error + func (c *TvAdServiceSessionClient) OnGenericMotionEvent(ctx context.Context, arg0 int64) (bool, error) + func (c *TvAdServiceSessionClient) OnKeyDown(ctx context.Context, arg0 int32, arg1 int64) (bool, error) + func (c *TvAdServiceSessionClient) OnKeyLongPress(ctx context.Context, arg0 int32, arg1 int64) (bool, error) + func (c *TvAdServiceSessionClient) OnKeyMultiple(ctx context.Context, arg0 int32, arg1 int32, arg2 int64) (bool, error) + func (c *TvAdServiceSessionClient) OnKeyUp(ctx context.Context, arg0 int32, arg1 int64) (bool, error) + func (c *TvAdServiceSessionClient) OnMediaViewSizeChanged(ctx context.Context, arg0 int32, arg1 int32) error + func (c *TvAdServiceSessionClient) OnRelease(ctx context.Context) error + func (c *TvAdServiceSessionClient) OnResetAdService(ctx context.Context) error + func (c *TvAdServiceSessionClient) OnSetSurface(ctx context.Context, arg0 int64) (bool, error) + func (c *TvAdServiceSessionClient) OnSigningResult(ctx context.Context, arg0 string, arg1 int64) error + func (c *TvAdServiceSessionClient) OnStartAdService(ctx context.Context) error + func (c *TvAdServiceSessionClient) OnStopAdService(ctx context.Context) error + func (c *TvAdServiceSessionClient) OnSurfaceChanged(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) error + func (c *TvAdServiceSessionClient) OnTouchEvent(ctx context.Context, arg0 int64) (bool, error) + func (c *TvAdServiceSessionClient) OnTrackballEvent(ctx context.Context, arg0 int64) (bool, error) + func (c *TvAdServiceSessionClient) OnTvInputSessionData(ctx context.Context, arg0 string, arg1 int64) error + func (c *TvAdServiceSessionClient) OnTvMessage(ctx context.Context, arg0 int32, arg1 int64) error + func (c *TvAdServiceSessionClient) RequestCurrentChannelUri(ctx context.Context) error + func (c *TvAdServiceSessionClient) RequestCurrentTvInputId(ctx context.Context) error + func (c *TvAdServiceSessionClient) RequestCurrentVideoBounds(ctx context.Context) error + func (c *TvAdServiceSessionClient) RequestSigning(ctx context.Context, arg0 string, arg1 string, arg2 string, arg3 int64) error + func (c *TvAdServiceSessionClient) RequestTrackInfoList(ctx context.Context) error + func (c *TvAdServiceSessionClient) SendTvAdSessionData(ctx context.Context, arg0 string, arg1 int64) error + func (c *TvAdServiceSessionClient) SetMediaViewEnabled(ctx context.Context, arg0 bool) error + type TvAdViewClient struct + func NewTvAdViewClient(cc grpc.ClientConnInterface) *TvAdViewClient + func (c *TvAdViewClient) ClearCallback(ctx context.Context, handle int64) error + func (c *TvAdViewClient) ClearOnUnhandledInputEventListener(ctx context.Context, handle int64) error + func (c *TvAdViewClient) DispatchKeyEvent(ctx context.Context, handle int64, arg0 int64) (bool, error) + func (c *TvAdViewClient) DispatchUnhandledInputEvent(ctx context.Context, handle int64, arg0 int64) (bool, error) + func (c *TvAdViewClient) GetOnUnhandledInputEventListener(ctx context.Context, handle int64) (int64, error) + func (c *TvAdViewClient) NotifyError(ctx context.Context, handle int64, arg0 string, arg1 int64) error + func (c *TvAdViewClient) NotifyTvMessage(ctx context.Context, handle int64, arg0 int32, arg1 int64) error + func (c *TvAdViewClient) OnAttachedToWindow(ctx context.Context, handle int64) error + func (c *TvAdViewClient) OnDetachedFromWindow(ctx context.Context, handle int64) error + func (c *TvAdViewClient) OnLayout(ctx context.Context, handle int64, arg0 bool, arg1 int32, arg2 int32, ...) error + func (c *TvAdViewClient) OnMeasure(ctx context.Context, handle int64, arg0 int32, arg1 int32) error + func (c *TvAdViewClient) OnUnhandledInputEvent(ctx context.Context, handle int64, arg0 int64) (bool, error) + func (c *TvAdViewClient) OnVisibilityChanged(ctx context.Context, handle int64, arg0 int64, arg1 int32) error + func (c *TvAdViewClient) PrepareAdService(ctx context.Context, handle int64, arg0 string, arg1 string) error + func (c *TvAdViewClient) Reset(ctx context.Context, handle int64) error + func (c *TvAdViewClient) ResetAdService(ctx context.Context, handle int64) error + func (c *TvAdViewClient) SendCurrentChannelUri(ctx context.Context, handle int64, arg0 int64) error + func (c *TvAdViewClient) SendCurrentTvInputId(ctx context.Context, handle int64, arg0 string) error + func (c *TvAdViewClient) SendCurrentVideoBounds(ctx context.Context, handle int64, arg0 int64) error + func (c *TvAdViewClient) SendSigningResult(ctx context.Context, handle int64, arg0 string, arg1 int64) error + func (c *TvAdViewClient) SetCallback(ctx context.Context, handle int64, arg0 int64, arg1 int64) error + func (c *TvAdViewClient) SetOnUnhandledInputEventListener(ctx context.Context, handle int64, arg0 int64) error + func (c *TvAdViewClient) SetTvView(ctx context.Context, handle int64, arg0 int64) (bool, error) + func (c *TvAdViewClient) SetZOrderMediaOverlay(ctx context.Context, handle int64, arg0 bool) error + func (c *TvAdViewClient) SetZOrderOnTop(ctx context.Context, handle int64, arg0 bool) error + func (c *TvAdViewClient) StartAdService(ctx context.Context, handle int64) error + func (c *TvAdViewClient) StopAdService(ctx context.Context, handle int64) error + type TvAdViewOnUnhandledInputEventListenerClient struct + func NewTvAdViewOnUnhandledInputEventListenerClient(cc grpc.ClientConnInterface) *TvAdViewOnUnhandledInputEventListenerClient + func (c *TvAdViewOnUnhandledInputEventListenerClient) OnUnhandledInputEvent(ctx context.Context, arg0 int64) (bool, error) + type TvAdViewTvAdCallbackClient struct + func NewTvAdViewTvAdCallbackClient(cc grpc.ClientConnInterface) *TvAdViewTvAdCallbackClient + func (c *TvAdViewTvAdCallbackClient) OnRequestCurrentChannelUri(ctx context.Context, arg0 string) error + func (c *TvAdViewTvAdCallbackClient) OnRequestCurrentTvInputId(ctx context.Context, arg0 string) error + func (c *TvAdViewTvAdCallbackClient) OnRequestCurrentVideoBounds(ctx context.Context, arg0 string) error + func (c *TvAdViewTvAdCallbackClient) OnRequestSigning(ctx context.Context, arg0 string, arg1 string, arg2 string, arg3 string, ...) error + func (c *TvAdViewTvAdCallbackClient) OnRequestTrackInfoList(ctx context.Context, arg0 string) error + func (c *TvAdViewTvAdCallbackClient) OnStateChanged(ctx context.Context, arg0 string, arg1 int32, arg2 int32) error