Documentation
¶
Index ¶
- type SynthesisCallbackClient
- func (c *SynthesisCallbackClient) AudioAvailable(ctx context.Context, arg0 int64, arg1 int32, arg2 int32) (int32, error)
- func (c *SynthesisCallbackClient) Done(ctx context.Context) (int32, error)
- func (c *SynthesisCallbackClient) Error0(ctx context.Context) error
- func (c *SynthesisCallbackClient) Error1_1(ctx context.Context, arg0 int32) error
- func (c *SynthesisCallbackClient) GetMaxBufferSize(ctx context.Context) (int32, error)
- func (c *SynthesisCallbackClient) HasFinished(ctx context.Context) (bool, error)
- func (c *SynthesisCallbackClient) HasStarted(ctx context.Context) (bool, error)
- func (c *SynthesisCallbackClient) Start(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) (int32, error)
- type SynthesisRequestClient
- func (c *SynthesisRequestClient) GetCallerUid(ctx context.Context, handle int64) (int32, error)
- func (c *SynthesisRequestClient) GetCharSequenceText(ctx context.Context, handle int64) (int64, error)
- func (c *SynthesisRequestClient) GetCountry(ctx context.Context, handle int64) (string, error)
- func (c *SynthesisRequestClient) GetLanguage(ctx context.Context, handle int64) (string, error)
- func (c *SynthesisRequestClient) GetParams(ctx context.Context, handle int64) (int64, error)
- func (c *SynthesisRequestClient) GetPitch(ctx context.Context, handle int64) (int32, error)
- func (c *SynthesisRequestClient) GetSpeechRate(ctx context.Context, handle int64) (int32, error)
- func (c *SynthesisRequestClient) GetText(ctx context.Context, handle int64) (string, error)
- func (c *SynthesisRequestClient) GetVariant(ctx context.Context, handle int64) (string, error)
- func (c *SynthesisRequestClient) GetVoiceName(ctx context.Context, handle int64) (string, error)
- type TextToSpeechServiceClient
- func (c *TextToSpeechServiceClient) OnBind(ctx context.Context, arg0 int64) (int64, error)
- func (c *TextToSpeechServiceClient) OnCreate(ctx context.Context) error
- func (c *TextToSpeechServiceClient) OnDestroy(ctx context.Context) error
- func (c *TextToSpeechServiceClient) OnGetDefaultVoiceNameFor(ctx context.Context, arg0 string, arg1 string, arg2 string) (string, error)
- func (c *TextToSpeechServiceClient) OnGetVoices(ctx context.Context) (int64, error)
- func (c *TextToSpeechServiceClient) OnIsValidVoiceName(ctx context.Context, arg0 string) (int32, error)
- func (c *TextToSpeechServiceClient) OnLoadVoice(ctx context.Context, arg0 string) (int32, error)
- type UtteranceProgressListenerClient
- func (c *UtteranceProgressListenerClient) OnAudioAvailable(ctx context.Context, arg0 string, arg1 int64) error
- func (c *UtteranceProgressListenerClient) OnBeginSynthesis(ctx context.Context, arg0 string, arg1 int32, arg2 int32, arg3 int32) error
- func (c *UtteranceProgressListenerClient) OnDone(ctx context.Context, arg0 string) error
- func (c *UtteranceProgressListenerClient) OnError1(ctx context.Context, arg0 string) error
- func (c *UtteranceProgressListenerClient) OnError2_1(ctx context.Context, arg0 string, arg1 int32) error
- func (c *UtteranceProgressListenerClient) OnRangeStart(ctx context.Context, arg0 string, arg1 int32, arg2 int32, arg3 int32) error
- func (c *UtteranceProgressListenerClient) OnStart(ctx context.Context, arg0 string) error
- func (c *UtteranceProgressListenerClient) OnStop(ctx context.Context, arg0 string, arg1 bool) error
- type VoiceClient
- func (c *VoiceClient) DescribeContents(ctx context.Context, handle int64) (int32, error)
- func (c *VoiceClient) Equals(ctx context.Context, handle int64, arg0 int64) (bool, error)
- func (c *VoiceClient) GetFeatures(ctx context.Context, handle int64) (int64, error)
- func (c *VoiceClient) GetLatency(ctx context.Context, handle int64) (int32, error)
- func (c *VoiceClient) GetLocale(ctx context.Context, handle int64) (int64, error)
- func (c *VoiceClient) GetName(ctx context.Context, handle int64) (string, error)
- func (c *VoiceClient) GetQuality(ctx context.Context, handle int64) (int32, error)
- func (c *VoiceClient) HashCode(ctx context.Context, handle int64) (int32, error)
- func (c *VoiceClient) IsNetworkConnectionRequired(ctx context.Context, handle int64) (bool, error)
- func (c *VoiceClient) ToString(ctx context.Context, handle int64) (string, error)
- func (c *VoiceClient) WriteToParcel(ctx context.Context, handle int64, arg0 int64, arg1 int32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SynthesisCallbackClient ¶
type SynthesisCallbackClient struct {
// contains filtered or unexported fields
}
SynthesisCallbackClient wraps the gRPC SynthesisCallbackService client.
func NewSynthesisCallbackClient ¶
func NewSynthesisCallbackClient(cc grpc.ClientConnInterface) *SynthesisCallbackClient
NewSynthesisCallbackClient creates a new SynthesisCallback client.
func (*SynthesisCallbackClient) AudioAvailable ¶
func (c *SynthesisCallbackClient) AudioAvailable(ctx context.Context, arg0 int64, arg1 int32, arg2 int32) (int32, error)
AudioAvailable calls the AudioAvailable RPC.
func (*SynthesisCallbackClient) Done ¶
func (c *SynthesisCallbackClient) Done(ctx context.Context) (int32, error)
Done calls the Done RPC.
func (*SynthesisCallbackClient) Error0 ¶
func (c *SynthesisCallbackClient) Error0(ctx context.Context) error
Error0 calls the Error0 RPC.
func (*SynthesisCallbackClient) Error1_1 ¶
func (c *SynthesisCallbackClient) Error1_1(ctx context.Context, arg0 int32) error
Error1_1 calls the Error1_1 RPC.
func (*SynthesisCallbackClient) GetMaxBufferSize ¶
func (c *SynthesisCallbackClient) GetMaxBufferSize(ctx context.Context) (int32, error)
GetMaxBufferSize calls the GetMaxBufferSize RPC.
func (*SynthesisCallbackClient) HasFinished ¶
func (c *SynthesisCallbackClient) HasFinished(ctx context.Context) (bool, error)
HasFinished calls the HasFinished RPC.
func (*SynthesisCallbackClient) HasStarted ¶
func (c *SynthesisCallbackClient) HasStarted(ctx context.Context) (bool, error)
HasStarted calls the HasStarted RPC.
type SynthesisRequestClient ¶
type SynthesisRequestClient struct {
// contains filtered or unexported fields
}
SynthesisRequestClient wraps the gRPC SynthesisRequestService client.
func NewSynthesisRequestClient ¶
func NewSynthesisRequestClient(cc grpc.ClientConnInterface) *SynthesisRequestClient
NewSynthesisRequestClient creates a new SynthesisRequest client.
func (*SynthesisRequestClient) GetCallerUid ¶
GetCallerUid calls the GetCallerUid RPC.
func (*SynthesisRequestClient) GetCharSequenceText ¶
func (c *SynthesisRequestClient) GetCharSequenceText(ctx context.Context, handle int64) (int64, error)
GetCharSequenceText calls the GetCharSequenceText RPC.
func (*SynthesisRequestClient) GetCountry ¶
GetCountry calls the GetCountry RPC.
func (*SynthesisRequestClient) GetLanguage ¶
GetLanguage calls the GetLanguage RPC.
func (*SynthesisRequestClient) GetSpeechRate ¶
GetSpeechRate calls the GetSpeechRate RPC.
func (*SynthesisRequestClient) GetVariant ¶
GetVariant calls the GetVariant RPC.
func (*SynthesisRequestClient) GetVoiceName ¶
GetVoiceName calls the GetVoiceName RPC.
type TextToSpeechServiceClient ¶
type TextToSpeechServiceClient struct {
// contains filtered or unexported fields
}
TextToSpeechServiceClient wraps the gRPC TextToSpeechServiceService client.
func NewTextToSpeechServiceClient ¶
func NewTextToSpeechServiceClient(cc grpc.ClientConnInterface) *TextToSpeechServiceClient
NewTextToSpeechServiceClient creates a new TextToSpeechService client.
func (*TextToSpeechServiceClient) OnCreate ¶
func (c *TextToSpeechServiceClient) OnCreate(ctx context.Context) error
OnCreate calls the OnCreate RPC.
func (*TextToSpeechServiceClient) OnDestroy ¶
func (c *TextToSpeechServiceClient) OnDestroy(ctx context.Context) error
OnDestroy calls the OnDestroy RPC.
func (*TextToSpeechServiceClient) OnGetDefaultVoiceNameFor ¶
func (c *TextToSpeechServiceClient) OnGetDefaultVoiceNameFor(ctx context.Context, arg0 string, arg1 string, arg2 string) (string, error)
OnGetDefaultVoiceNameFor calls the OnGetDefaultVoiceNameFor RPC.
func (*TextToSpeechServiceClient) OnGetVoices ¶
func (c *TextToSpeechServiceClient) OnGetVoices(ctx context.Context) (int64, error)
OnGetVoices calls the OnGetVoices RPC.
func (*TextToSpeechServiceClient) OnIsValidVoiceName ¶
func (c *TextToSpeechServiceClient) OnIsValidVoiceName(ctx context.Context, arg0 string) (int32, error)
OnIsValidVoiceName calls the OnIsValidVoiceName RPC.
func (*TextToSpeechServiceClient) OnLoadVoice ¶
OnLoadVoice calls the OnLoadVoice RPC.
type UtteranceProgressListenerClient ¶
type UtteranceProgressListenerClient struct {
// contains filtered or unexported fields
}
UtteranceProgressListenerClient wraps the gRPC UtteranceProgressListenerService client.
func NewUtteranceProgressListenerClient ¶
func NewUtteranceProgressListenerClient(cc grpc.ClientConnInterface) *UtteranceProgressListenerClient
NewUtteranceProgressListenerClient creates a new UtteranceProgressListener client.
func (*UtteranceProgressListenerClient) OnAudioAvailable ¶
func (c *UtteranceProgressListenerClient) OnAudioAvailable(ctx context.Context, arg0 string, arg1 int64) error
OnAudioAvailable calls the OnAudioAvailable RPC.
func (*UtteranceProgressListenerClient) OnBeginSynthesis ¶
func (c *UtteranceProgressListenerClient) OnBeginSynthesis(ctx context.Context, arg0 string, arg1 int32, arg2 int32, arg3 int32) error
OnBeginSynthesis calls the OnBeginSynthesis RPC.
func (*UtteranceProgressListenerClient) OnDone ¶
func (c *UtteranceProgressListenerClient) OnDone(ctx context.Context, arg0 string) error
OnDone calls the OnDone RPC.
func (*UtteranceProgressListenerClient) OnError1 ¶
func (c *UtteranceProgressListenerClient) OnError1(ctx context.Context, arg0 string) error
OnError1 calls the OnError1 RPC.
func (*UtteranceProgressListenerClient) OnError2_1 ¶
func (c *UtteranceProgressListenerClient) OnError2_1(ctx context.Context, arg0 string, arg1 int32) error
OnError2_1 calls the OnError2_1 RPC.
func (*UtteranceProgressListenerClient) OnRangeStart ¶
func (c *UtteranceProgressListenerClient) OnRangeStart(ctx context.Context, arg0 string, arg1 int32, arg2 int32, arg3 int32) error
OnRangeStart calls the OnRangeStart RPC.
type VoiceClient ¶
type VoiceClient struct {
// contains filtered or unexported fields
}
VoiceClient wraps the gRPC VoiceService client.
func NewVoiceClient ¶
func NewVoiceClient(cc grpc.ClientConnInterface) *VoiceClient
NewVoiceClient creates a new Voice client.
func (*VoiceClient) DescribeContents ¶
DescribeContents calls the DescribeContents RPC.
func (*VoiceClient) GetFeatures ¶
GetFeatures calls the GetFeatures RPC.
func (*VoiceClient) GetLatency ¶
GetLatency calls the GetLatency RPC.
func (*VoiceClient) GetQuality ¶
GetQuality calls the GetQuality RPC.
func (*VoiceClient) IsNetworkConnectionRequired ¶
IsNetworkConnectionRequired calls the IsNetworkConnectionRequired RPC.
func (*VoiceClient) WriteToParcel ¶
func (c *VoiceClient) WriteToParcel(ctx context.Context, handle int64, arg0 int64, arg1 int32) error
WriteToParcel calls the WriteToParcel RPC.