Versions in this module Expand all Collapse all v0 v0.0.6 Mar 29, 2026 Changes in this version + type CapabilityClient struct + func NewCapabilityClient(cc grpc.ClientConnInterface) *CapabilityClient + func (c *CapabilityClient) DescribeContents(ctx context.Context) (int32, error) + func (c *CapabilityClient) GetSourceSpec(ctx context.Context) (int64, error) + func (c *CapabilityClient) GetState(ctx context.Context) (int32, error) + func (c *CapabilityClient) GetSupportedTranslationFlags(ctx context.Context) (int32, error) + func (c *CapabilityClient) GetTargetSpec(ctx context.Context) (int64, error) + func (c *CapabilityClient) IsUiTranslationEnabled(ctx context.Context) (bool, error) + func (c *CapabilityClient) ToString(ctx context.Context) (string, error) + func (c *CapabilityClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error + type ContextBuilderClient struct + func NewContextBuilderClient(cc grpc.ClientConnInterface) *ContextBuilderClient + func (c *ContextBuilderClient) Build(ctx context.Context) (int64, error) + func (c *ContextBuilderClient) SetTranslationFlags(ctx context.Context, arg0 int32) (int64, error) + type ContextClient struct + func NewContextClient(cc grpc.ClientConnInterface) *ContextClient + func (c *ContextClient) DescribeContents(ctx context.Context) (int32, error) + func (c *ContextClient) GetSourceSpec(ctx context.Context) (int64, error) + func (c *ContextClient) GetTargetSpec(ctx context.Context) (int64, error) + func (c *ContextClient) GetTranslationFlags(ctx context.Context) (int32, error) + func (c *ContextClient) ToString(ctx context.Context) (string, error) + func (c *ContextClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error + type ManagerClient struct + func NewManagerClient(cc grpc.ClientConnInterface) *ManagerClient + func (c *ManagerClient) GetOnDeviceTranslationCapabilities(ctx context.Context, arg0 int32, arg1 int32) (int64, error) + func (c *ManagerClient) GetOnDeviceTranslationSettingsActivityIntent(ctx context.Context) (int64, error) + type RequestBuilderClient struct + func NewRequestBuilderClient(cc grpc.ClientConnInterface) *RequestBuilderClient + func (c *RequestBuilderClient) Build(ctx context.Context) (int64, error) + func (c *RequestBuilderClient) SetFlags(ctx context.Context, arg0 int32) (int64, error) + type RequestClient struct + func NewRequestClient(cc grpc.ClientConnInterface) *RequestClient + func (c *RequestClient) DescribeContents(ctx context.Context) (int32, error) + func (c *RequestClient) GetFlags(ctx context.Context) (int32, error) + func (c *RequestClient) GetTranslationRequestValues(ctx context.Context) (int64, error) + func (c *RequestClient) GetViewTranslationRequests(ctx context.Context) (int64, error) + func (c *RequestClient) ToString(ctx context.Context) (string, error) + func (c *RequestClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error + type RequestValueClient struct + func NewRequestValueClient(cc grpc.ClientConnInterface) *RequestValueClient + func (c *RequestValueClient) DescribeContents(ctx context.Context) (int32, error) + func (c *RequestValueClient) Equals(ctx context.Context, arg0 int64) (bool, error) + func (c *RequestValueClient) ForText(ctx context.Context, arg0 string) (int64, error) + func (c *RequestValueClient) GetText(ctx context.Context) (int64, error) + func (c *RequestValueClient) HashCode(ctx context.Context) (int32, error) + func (c *RequestValueClient) ToString(ctx context.Context) (string, error) + func (c *RequestValueClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error + type ResponseBuilderClient struct + func NewResponseBuilderClient(cc grpc.ClientConnInterface) *ResponseBuilderClient + func (c *ResponseBuilderClient) Build(ctx context.Context) (int64, error) + func (c *ResponseBuilderClient) SetFinalResponse(ctx context.Context, arg0 bool) (int64, error) + func (c *ResponseBuilderClient) SetTranslationResponseValue(ctx context.Context, arg0 int32, arg1 int64) (int64, error) + func (c *ResponseBuilderClient) SetViewTranslationResponse(ctx context.Context, arg0 int32, arg1 int64) (int64, error) + type ResponseClient struct + func NewResponseClient(cc grpc.ClientConnInterface) *ResponseClient + func (c *ResponseClient) DescribeContents(ctx context.Context) (int32, error) + func (c *ResponseClient) GetTranslationResponseValues(ctx context.Context) (int64, error) + func (c *ResponseClient) GetTranslationStatus(ctx context.Context) (int32, error) + func (c *ResponseClient) GetViewTranslationResponses(ctx context.Context) (int64, error) + func (c *ResponseClient) IsFinalResponse(ctx context.Context) (bool, error) + func (c *ResponseClient) ToString(ctx context.Context) (string, error) + func (c *ResponseClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error + type ResponseValueBuilderClient struct + func NewResponseValueBuilderClient(cc grpc.ClientConnInterface) *ResponseValueBuilderClient + func (c *ResponseValueBuilderClient) Build(ctx context.Context) (int64, error) + func (c *ResponseValueBuilderClient) SetExtras(ctx context.Context, arg0 int64) (int64, error) + func (c *ResponseValueBuilderClient) SetText(ctx context.Context, arg0 string) (int64, error) + func (c *ResponseValueBuilderClient) SetTransliteration(ctx context.Context, arg0 string) (int64, error) + type ResponseValueClient struct + func NewResponseValueClient(cc grpc.ClientConnInterface) *ResponseValueClient + func (c *ResponseValueClient) DescribeContents(ctx context.Context) (int32, error) + func (c *ResponseValueClient) Equals(ctx context.Context, arg0 int64) (bool, error) + func (c *ResponseValueClient) ForError(ctx context.Context) (int64, error) + func (c *ResponseValueClient) GetExtras(ctx context.Context) (int64, error) + func (c *ResponseValueClient) GetStatusCode(ctx context.Context) (int32, error) + func (c *ResponseValueClient) GetText(ctx context.Context) (int64, error) + func (c *ResponseValueClient) GetTransliteration(ctx context.Context) (int64, error) + func (c *ResponseValueClient) HashCode(ctx context.Context) (int32, error) + func (c *ResponseValueClient) ToString(ctx context.Context) (string, error) + func (c *ResponseValueClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error + type SpecClient struct + func NewSpecClient(cc grpc.ClientConnInterface) *SpecClient + func (c *SpecClient) DescribeContents(ctx context.Context, handle int64) (int32, error) + func (c *SpecClient) Equals(ctx context.Context, handle int64, arg0 int64) (bool, error) + func (c *SpecClient) GetDataFormat(ctx context.Context, handle int64) (int32, error) + func (c *SpecClient) GetLocale(ctx context.Context, handle int64) (int64, error) + func (c *SpecClient) HashCode(ctx context.Context, handle int64) (int32, error) + func (c *SpecClient) ToString(ctx context.Context, handle int64) (string, error) + func (c *SpecClient) WriteToParcel(ctx context.Context, handle int64, arg0 int64, arg1 int32) error + type TranslatorClient struct + func NewTranslatorClient(cc grpc.ClientConnInterface) *TranslatorClient + func (c *TranslatorClient) Destroy(ctx context.Context) error + func (c *TranslatorClient) IsDestroyed(ctx context.Context) (bool, error) + type UiTranslationManagerClient struct + func NewUiTranslationManagerClient(cc grpc.ClientConnInterface) *UiTranslationManagerClient + func (c *UiTranslationManagerClient) RegisterUiTranslationStateCallback(ctx context.Context, arg0 int64, arg1 int64) error + func (c *UiTranslationManagerClient) UnregisterUiTranslationStateCallback(ctx context.Context, arg0 int64) error + type UiTranslationStateCallbackClient struct + func NewUiTranslationStateCallbackClient(cc grpc.ClientConnInterface) *UiTranslationStateCallbackClient + func (c *UiTranslationStateCallbackClient) OnFinished(ctx context.Context) error + func (c *UiTranslationStateCallbackClient) OnPaused(ctx context.Context) error + type ViewTranslationCallbackClient struct + func NewViewTranslationCallbackClient(cc grpc.ClientConnInterface) *ViewTranslationCallbackClient + func (c *ViewTranslationCallbackClient) OnClearTranslation(ctx context.Context, arg0 int64) (bool, error) + func (c *ViewTranslationCallbackClient) OnHideTranslation(ctx context.Context, arg0 int64) (bool, error) + func (c *ViewTranslationCallbackClient) OnShowTranslation(ctx context.Context, arg0 int64) (bool, error) + type ViewTranslationRequestBuilderClient struct + func NewViewTranslationRequestBuilderClient(cc grpc.ClientConnInterface) *ViewTranslationRequestBuilderClient + func (c *ViewTranslationRequestBuilderClient) Build(ctx context.Context) (int64, error) + func (c *ViewTranslationRequestBuilderClient) SetValue(ctx context.Context, arg0 string, arg1 int64) (int64, error) + type ViewTranslationRequestClient struct + func NewViewTranslationRequestClient(cc grpc.ClientConnInterface) *ViewTranslationRequestClient + func (c *ViewTranslationRequestClient) DescribeContents(ctx context.Context) (int32, error) + func (c *ViewTranslationRequestClient) Equals(ctx context.Context, arg0 int64) (bool, error) + func (c *ViewTranslationRequestClient) GetAutofillId(ctx context.Context) (int64, error) + func (c *ViewTranslationRequestClient) GetKeys(ctx context.Context) (int64, error) + func (c *ViewTranslationRequestClient) GetValue(ctx context.Context, arg0 string) (int64, error) + func (c *ViewTranslationRequestClient) HashCode(ctx context.Context) (int32, error) + func (c *ViewTranslationRequestClient) ToString(ctx context.Context) (string, error) + func (c *ViewTranslationRequestClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error + type ViewTranslationResponseBuilderClient struct + func NewViewTranslationResponseBuilderClient(cc grpc.ClientConnInterface) *ViewTranslationResponseBuilderClient + func (c *ViewTranslationResponseBuilderClient) Build(ctx context.Context) (int64, error) + func (c *ViewTranslationResponseBuilderClient) SetValue(ctx context.Context, arg0 string, arg1 int64) (int64, error) + type ViewTranslationResponseClient struct + func NewViewTranslationResponseClient(cc grpc.ClientConnInterface) *ViewTranslationResponseClient + func (c *ViewTranslationResponseClient) DescribeContents(ctx context.Context) (int32, error) + func (c *ViewTranslationResponseClient) Equals(ctx context.Context, arg0 int64) (bool, error) + func (c *ViewTranslationResponseClient) GetAutofillId(ctx context.Context) (int64, error) + func (c *ViewTranslationResponseClient) GetKeys(ctx context.Context) (int64, error) + func (c *ViewTranslationResponseClient) GetValue(ctx context.Context, arg0 string) (int64, error) + func (c *ViewTranslationResponseClient) HashCode(ctx context.Context) (int32, error) + func (c *ViewTranslationResponseClient) ToString(ctx context.Context) (string, error) + func (c *ViewTranslationResponseClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error