Documentation
¶
Index ¶
- type AudioCallClient
- func (c *AudioCallClient) AnswerCall(ctx context.Context, handle int64, arg0 int32) error
- func (c *AudioCallClient) AttachCall(ctx context.Context, handle int64, arg0 int64, arg1 string) error
- func (c *AudioCallClient) Close(ctx context.Context, handle int64) error
- func (c *AudioCallClient) ContinueCall(ctx context.Context, handle int64, arg0 int32) error
- func (c *AudioCallClient) EndCall(ctx context.Context, handle int64) error
- func (c *AudioCallClient) GetLocalProfile(ctx context.Context, handle int64) (int64, error)
- func (c *AudioCallClient) GetPeerProfile(ctx context.Context, handle int64) (int64, error)
- func (c *AudioCallClient) GetState(ctx context.Context, handle int64) (int32, error)
- func (c *AudioCallClient) HoldCall(ctx context.Context, handle int64, arg0 int32) error
- func (c *AudioCallClient) IsInCall(ctx context.Context, handle int64) (bool, error)
- func (c *AudioCallClient) IsMuted(ctx context.Context, handle int64) (bool, error)
- func (c *AudioCallClient) IsOnHold(ctx context.Context, handle int64) (bool, error)
- func (c *AudioCallClient) MakeCall(ctx context.Context, handle int64, arg0 int64, arg1 int64, arg2 int32) error
- func (c *AudioCallClient) SendDtmf1(ctx context.Context, handle int64, arg0 int32) error
- func (c *AudioCallClient) SendDtmf2_1(ctx context.Context, handle int64, arg0 int32, arg1 int64) error
- func (c *AudioCallClient) SetListener1(ctx context.Context, handle int64, arg0 int64) error
- func (c *AudioCallClient) SetListener2_1(ctx context.Context, handle int64, arg0 int64, arg1 bool) error
- func (c *AudioCallClient) SetSpeakerMode(ctx context.Context, handle int64, arg0 bool) error
- func (c *AudioCallClient) StartAudio(ctx context.Context, handle int64) error
- func (c *AudioCallClient) ToggleMute(ctx context.Context, handle int64) error
- type AudioCallListenerClient
- func (c *AudioCallListenerClient) OnCallBusy(ctx context.Context, arg0 int64) error
- func (c *AudioCallListenerClient) OnCallEnded(ctx context.Context, arg0 int64) error
- func (c *AudioCallListenerClient) OnCallEstablished(ctx context.Context, arg0 int64) error
- func (c *AudioCallListenerClient) OnCallHeld(ctx context.Context, arg0 int64) error
- func (c *AudioCallListenerClient) OnCalling(ctx context.Context, arg0 int64) error
- func (c *AudioCallListenerClient) OnChanged(ctx context.Context, arg0 int64) error
- func (c *AudioCallListenerClient) OnError(ctx context.Context, arg0 int64, arg1 int32, arg2 string) error
- func (c *AudioCallListenerClient) OnReadyToCall(ctx context.Context, arg0 int64) error
- func (c *AudioCallListenerClient) OnRinging(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *AudioCallListenerClient) OnRingingBack(ctx context.Context, arg0 int64) error
- type ErrorCodeClient
- type ManagerClient
- func (c *ManagerClient) Close(ctx context.Context, arg0 string) error
- func (c *ManagerClient) CreateSipSession(ctx context.Context, arg0 int64, arg1 int64) (int64, error)
- func (c *ManagerClient) GetCallId(ctx context.Context, arg0 int64) (string, error)
- func (c *ManagerClient) GetOfferSessionDescription(ctx context.Context, arg0 int64) (string, error)
- func (c *ManagerClient) GetSessionFor(ctx context.Context, arg0 int64) (int64, error)
- func (c *ManagerClient) IsApiSupported(ctx context.Context, arg0 int64) (bool, error)
- func (c *ManagerClient) IsIncomingCallIntent(ctx context.Context, arg0 int64) (bool, error)
- func (c *ManagerClient) IsOpened(ctx context.Context, arg0 string) (bool, error)
- func (c *ManagerClient) IsRegistered(ctx context.Context, arg0 string) (bool, error)
- func (c *ManagerClient) IsSipWifiOnly(ctx context.Context, arg0 int64) (bool, error)
- func (c *ManagerClient) IsVoipSupported(ctx context.Context, arg0 int64) (bool, error)
- func (c *ManagerClient) MakeAudioCall4(ctx context.Context, arg0 int64, arg1 int64, arg2 int64, arg3 int32) (int64, error)
- func (c *ManagerClient) MakeAudioCall4_1(ctx context.Context, arg0 string, arg1 string, arg2 int64, arg3 int32) (int64, error)
- func (c *ManagerClient) NewInstance(ctx context.Context, arg0 int64) (int64, error)
- func (c *ManagerClient) Open1(ctx context.Context, arg0 int64) error
- func (c *ManagerClient) Open3_1(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *ManagerClient) Register(ctx context.Context, arg0 int64, arg1 int32, arg2 int64) error
- func (c *ManagerClient) SetRegistrationListener(ctx context.Context, arg0 string, arg1 int64) error
- func (c *ManagerClient) TakeAudioCall(ctx context.Context, arg0 int64, arg1 int64) (int64, error)
- func (c *ManagerClient) Unregister(ctx context.Context, arg0 int64, arg1 int64) error
- type ProfileBuilderClient
- func (c *ProfileBuilderClient) Build(ctx context.Context) (int64, error)
- func (c *ProfileBuilderClient) SetAuthUserName(ctx context.Context, arg0 string) (int64, error)
- func (c *ProfileBuilderClient) SetAutoRegistration(ctx context.Context, arg0 bool) (int64, error)
- func (c *ProfileBuilderClient) SetDisplayName(ctx context.Context, arg0 string) (int64, error)
- func (c *ProfileBuilderClient) SetOutboundProxy(ctx context.Context, arg0 string) (int64, error)
- func (c *ProfileBuilderClient) SetPassword(ctx context.Context, arg0 string) (int64, error)
- func (c *ProfileBuilderClient) SetPort(ctx context.Context, arg0 int32) (int64, error)
- func (c *ProfileBuilderClient) SetProfileName(ctx context.Context, arg0 string) (int64, error)
- func (c *ProfileBuilderClient) SetProtocol(ctx context.Context, arg0 string) (int64, error)
- func (c *ProfileBuilderClient) SetSendKeepAlive(ctx context.Context, arg0 bool) (int64, error)
- type ProfileClient
- func (c *ProfileClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *ProfileClient) GetAuthUserName(ctx context.Context) (string, error)
- func (c *ProfileClient) GetAutoRegistration(ctx context.Context) (bool, error)
- func (c *ProfileClient) GetDisplayName(ctx context.Context) (string, error)
- func (c *ProfileClient) GetPassword(ctx context.Context) (string, error)
- func (c *ProfileClient) GetPort(ctx context.Context) (int32, error)
- func (c *ProfileClient) GetProfileName(ctx context.Context) (string, error)
- func (c *ProfileClient) GetProtocol(ctx context.Context) (string, error)
- func (c *ProfileClient) GetProxyAddress(ctx context.Context) (string, error)
- func (c *ProfileClient) GetSendKeepAlive(ctx context.Context) (bool, error)
- func (c *ProfileClient) GetSipDomain(ctx context.Context) (string, error)
- func (c *ProfileClient) GetUriString(ctx context.Context) (string, error)
- func (c *ProfileClient) GetUserName(ctx context.Context) (string, error)
- func (c *ProfileClient) SetCallingUid(ctx context.Context, arg0 int32) error
- func (c *ProfileClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type RegistrationListenerClient
- func (c *RegistrationListenerClient) OnRegistering(ctx context.Context, arg0 string) error
- func (c *RegistrationListenerClient) OnRegistrationDone(ctx context.Context, arg0 string, arg1 int64) error
- func (c *RegistrationListenerClient) OnRegistrationFailed(ctx context.Context, arg0 string, arg1 int32, arg2 string) error
- type SessionClient
- func (c *SessionClient) AnswerCall(ctx context.Context, arg0 string, arg1 int32) error
- func (c *SessionClient) ChangeCall(ctx context.Context, arg0 string, arg1 int32) error
- func (c *SessionClient) EndCall(ctx context.Context) error
- func (c *SessionClient) GetCallId(ctx context.Context) (string, error)
- func (c *SessionClient) GetLocalIp(ctx context.Context) (string, error)
- func (c *SessionClient) GetLocalProfile(ctx context.Context) (int64, error)
- func (c *SessionClient) GetPeerProfile(ctx context.Context) (int64, error)
- func (c *SessionClient) GetState(ctx context.Context) (int32, error)
- func (c *SessionClient) IsInCall(ctx context.Context) (bool, error)
- func (c *SessionClient) MakeCall(ctx context.Context, arg0 int64, arg1 string, arg2 int32) error
- func (c *SessionClient) Register(ctx context.Context, arg0 int32) error
- func (c *SessionClient) SetListener(ctx context.Context, arg0 int64) error
- func (c *SessionClient) Unregister(ctx context.Context) error
- type SessionListenerClient
- func (c *SessionListenerClient) OnCallBusy(ctx context.Context, arg0 int64) error
- func (c *SessionListenerClient) OnCallChangeFailed(ctx context.Context, arg0 int64, arg1 int32, arg2 string) error
- func (c *SessionListenerClient) OnCallEnded(ctx context.Context, arg0 int64) error
- func (c *SessionListenerClient) OnCallEstablished(ctx context.Context, arg0 int64, arg1 string) error
- func (c *SessionListenerClient) OnCalling(ctx context.Context, arg0 int64) error
- func (c *SessionListenerClient) OnError(ctx context.Context, arg0 int64, arg1 int32, arg2 string) error
- func (c *SessionListenerClient) OnRegistering(ctx context.Context, arg0 int64) error
- func (c *SessionListenerClient) OnRegistrationDone(ctx context.Context, arg0 int64, arg1 int32) error
- func (c *SessionListenerClient) OnRegistrationFailed(ctx context.Context, arg0 int64, arg1 int32, arg2 string) error
- func (c *SessionListenerClient) OnRegistrationTimeout(ctx context.Context, arg0 int64) error
- func (c *SessionListenerClient) OnRinging(ctx context.Context, arg0 int64, arg1 int64, arg2 string) error
- func (c *SessionListenerClient) OnRingingBack(ctx context.Context, arg0 int64) error
- type SessionStateClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioCallClient ¶
type AudioCallClient struct {
// contains filtered or unexported fields
}
AudioCallClient wraps the gRPC AudioCallService client.
func NewAudioCallClient ¶
func NewAudioCallClient(cc grpc.ClientConnInterface) *AudioCallClient
NewAudioCallClient creates a new AudioCall client.
func (*AudioCallClient) AnswerCall ¶
AnswerCall calls the AnswerCall RPC.
func (*AudioCallClient) AttachCall ¶
func (c *AudioCallClient) AttachCall(ctx context.Context, handle int64, arg0 int64, arg1 string) error
AttachCall calls the AttachCall RPC.
func (*AudioCallClient) Close ¶
func (c *AudioCallClient) Close(ctx context.Context, handle int64) error
Close calls the Close RPC.
func (*AudioCallClient) ContinueCall ¶
ContinueCall calls the ContinueCall RPC.
func (*AudioCallClient) EndCall ¶
func (c *AudioCallClient) EndCall(ctx context.Context, handle int64) error
EndCall calls the EndCall RPC.
func (*AudioCallClient) GetLocalProfile ¶
GetLocalProfile calls the GetLocalProfile RPC.
func (*AudioCallClient) GetPeerProfile ¶
GetPeerProfile calls the GetPeerProfile RPC.
func (*AudioCallClient) MakeCall ¶
func (c *AudioCallClient) MakeCall(ctx context.Context, handle int64, arg0 int64, arg1 int64, arg2 int32) error
MakeCall calls the MakeCall RPC.
func (*AudioCallClient) SendDtmf2_1 ¶
func (c *AudioCallClient) SendDtmf2_1(ctx context.Context, handle int64, arg0 int32, arg1 int64) error
SendDtmf2_1 calls the SendDtmf2_1 RPC.
func (*AudioCallClient) SetListener1 ¶
SetListener1 calls the SetListener1 RPC.
func (*AudioCallClient) SetListener2_1 ¶
func (c *AudioCallClient) SetListener2_1(ctx context.Context, handle int64, arg0 int64, arg1 bool) error
SetListener2_1 calls the SetListener2_1 RPC.
func (*AudioCallClient) SetSpeakerMode ¶
SetSpeakerMode calls the SetSpeakerMode RPC.
func (*AudioCallClient) StartAudio ¶
func (c *AudioCallClient) StartAudio(ctx context.Context, handle int64) error
StartAudio calls the StartAudio RPC.
func (*AudioCallClient) ToggleMute ¶
func (c *AudioCallClient) ToggleMute(ctx context.Context, handle int64) error
ToggleMute calls the ToggleMute RPC.
type AudioCallListenerClient ¶
type AudioCallListenerClient struct {
// contains filtered or unexported fields
}
AudioCallListenerClient wraps the gRPC AudioCallListenerService client.
func NewAudioCallListenerClient ¶
func NewAudioCallListenerClient(cc grpc.ClientConnInterface) *AudioCallListenerClient
NewAudioCallListenerClient creates a new AudioCallListener client.
func (*AudioCallListenerClient) OnCallBusy ¶
func (c *AudioCallListenerClient) OnCallBusy(ctx context.Context, arg0 int64) error
OnCallBusy calls the OnCallBusy RPC.
func (*AudioCallListenerClient) OnCallEnded ¶
func (c *AudioCallListenerClient) OnCallEnded(ctx context.Context, arg0 int64) error
OnCallEnded calls the OnCallEnded RPC.
func (*AudioCallListenerClient) OnCallEstablished ¶
func (c *AudioCallListenerClient) OnCallEstablished(ctx context.Context, arg0 int64) error
OnCallEstablished calls the OnCallEstablished RPC.
func (*AudioCallListenerClient) OnCallHeld ¶
func (c *AudioCallListenerClient) OnCallHeld(ctx context.Context, arg0 int64) error
OnCallHeld calls the OnCallHeld RPC.
func (*AudioCallListenerClient) OnCalling ¶
func (c *AudioCallListenerClient) OnCalling(ctx context.Context, arg0 int64) error
OnCalling calls the OnCalling RPC.
func (*AudioCallListenerClient) OnChanged ¶
func (c *AudioCallListenerClient) OnChanged(ctx context.Context, arg0 int64) error
OnChanged calls the OnChanged RPC.
func (*AudioCallListenerClient) OnError ¶
func (c *AudioCallListenerClient) OnError(ctx context.Context, arg0 int64, arg1 int32, arg2 string) error
OnError calls the OnError RPC.
func (*AudioCallListenerClient) OnReadyToCall ¶
func (c *AudioCallListenerClient) OnReadyToCall(ctx context.Context, arg0 int64) error
OnReadyToCall calls the OnReadyToCall RPC.
func (*AudioCallListenerClient) OnRingingBack ¶
func (c *AudioCallListenerClient) OnRingingBack(ctx context.Context, arg0 int64) error
OnRingingBack calls the OnRingingBack RPC.
type ErrorCodeClient ¶
type ErrorCodeClient struct {
// contains filtered or unexported fields
}
ErrorCodeClient wraps the gRPC ErrorCodeService client.
func NewErrorCodeClient ¶
func NewErrorCodeClient(cc grpc.ClientConnInterface) *ErrorCodeClient
NewErrorCodeClient creates a new ErrorCode client.
type ManagerClient ¶
type ManagerClient struct {
// contains filtered or unexported fields
}
ManagerClient wraps the gRPC ManagerService client.
func NewManagerClient ¶
func NewManagerClient(cc grpc.ClientConnInterface) *ManagerClient
NewManagerClient creates a new Manager client.
func (*ManagerClient) Close ¶
func (c *ManagerClient) Close(ctx context.Context, arg0 string) error
Close calls the Close RPC.
func (*ManagerClient) CreateSipSession ¶
func (c *ManagerClient) CreateSipSession(ctx context.Context, arg0 int64, arg1 int64) (int64, error)
CreateSipSession calls the CreateSipSession RPC.
func (*ManagerClient) GetOfferSessionDescription ¶
GetOfferSessionDescription calls the GetOfferSessionDescription RPC.
func (*ManagerClient) GetSessionFor ¶
GetSessionFor calls the GetSessionFor RPC.
func (*ManagerClient) IsApiSupported ¶
IsApiSupported calls the IsApiSupported RPC.
func (*ManagerClient) IsIncomingCallIntent ¶
IsIncomingCallIntent calls the IsIncomingCallIntent RPC.
func (*ManagerClient) IsRegistered ¶
IsRegistered calls the IsRegistered RPC.
func (*ManagerClient) IsSipWifiOnly ¶
IsSipWifiOnly calls the IsSipWifiOnly RPC.
func (*ManagerClient) IsVoipSupported ¶
IsVoipSupported calls the IsVoipSupported RPC.
func (*ManagerClient) MakeAudioCall4 ¶
func (c *ManagerClient) MakeAudioCall4(ctx context.Context, arg0 int64, arg1 int64, arg2 int64, arg3 int32) (int64, error)
MakeAudioCall4 calls the MakeAudioCall4 RPC.
func (*ManagerClient) MakeAudioCall4_1 ¶
func (c *ManagerClient) MakeAudioCall4_1(ctx context.Context, arg0 string, arg1 string, arg2 int64, arg3 int32) (int64, error)
MakeAudioCall4_1 calls the MakeAudioCall4_1 RPC.
func (*ManagerClient) NewInstance ¶
NewInstance calls the NewInstance RPC.
func (*ManagerClient) Open1 ¶
func (c *ManagerClient) Open1(ctx context.Context, arg0 int64) error
Open1 calls the Open1 RPC.
func (*ManagerClient) SetRegistrationListener ¶
SetRegistrationListener calls the SetRegistrationListener RPC.
func (*ManagerClient) TakeAudioCall ¶
TakeAudioCall calls the TakeAudioCall RPC.
func (*ManagerClient) Unregister ¶
Unregister calls the Unregister RPC.
type ProfileBuilderClient ¶
type ProfileBuilderClient struct {
// contains filtered or unexported fields
}
ProfileBuilderClient wraps the gRPC ProfileBuilderService client.
func NewProfileBuilderClient ¶
func NewProfileBuilderClient(cc grpc.ClientConnInterface) *ProfileBuilderClient
NewProfileBuilderClient creates a new ProfileBuilder client.
func (*ProfileBuilderClient) Build ¶
func (c *ProfileBuilderClient) Build(ctx context.Context) (int64, error)
Build calls the Build RPC.
func (*ProfileBuilderClient) SetAuthUserName ¶
SetAuthUserName calls the SetAuthUserName RPC.
func (*ProfileBuilderClient) SetAutoRegistration ¶
SetAutoRegistration calls the SetAutoRegistration RPC.
func (*ProfileBuilderClient) SetDisplayName ¶
SetDisplayName calls the SetDisplayName RPC.
func (*ProfileBuilderClient) SetOutboundProxy ¶
SetOutboundProxy calls the SetOutboundProxy RPC.
func (*ProfileBuilderClient) SetPassword ¶
SetPassword calls the SetPassword RPC.
func (*ProfileBuilderClient) SetProfileName ¶
SetProfileName calls the SetProfileName RPC.
func (*ProfileBuilderClient) SetProtocol ¶
SetProtocol calls the SetProtocol RPC.
func (*ProfileBuilderClient) SetSendKeepAlive ¶
SetSendKeepAlive calls the SetSendKeepAlive RPC.
type ProfileClient ¶
type ProfileClient struct {
// contains filtered or unexported fields
}
ProfileClient wraps the gRPC ProfileService client.
func NewProfileClient ¶
func NewProfileClient(cc grpc.ClientConnInterface) *ProfileClient
NewProfileClient creates a new Profile client.
func (*ProfileClient) DescribeContents ¶
func (c *ProfileClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*ProfileClient) GetAuthUserName ¶
func (c *ProfileClient) GetAuthUserName(ctx context.Context) (string, error)
GetAuthUserName calls the GetAuthUserName RPC.
func (*ProfileClient) GetAutoRegistration ¶
func (c *ProfileClient) GetAutoRegistration(ctx context.Context) (bool, error)
GetAutoRegistration calls the GetAutoRegistration RPC.
func (*ProfileClient) GetDisplayName ¶
func (c *ProfileClient) GetDisplayName(ctx context.Context) (string, error)
GetDisplayName calls the GetDisplayName RPC.
func (*ProfileClient) GetPassword ¶
func (c *ProfileClient) GetPassword(ctx context.Context) (string, error)
GetPassword calls the GetPassword RPC.
func (*ProfileClient) GetPort ¶
func (c *ProfileClient) GetPort(ctx context.Context) (int32, error)
GetPort calls the GetPort RPC.
func (*ProfileClient) GetProfileName ¶
func (c *ProfileClient) GetProfileName(ctx context.Context) (string, error)
GetProfileName calls the GetProfileName RPC.
func (*ProfileClient) GetProtocol ¶
func (c *ProfileClient) GetProtocol(ctx context.Context) (string, error)
GetProtocol calls the GetProtocol RPC.
func (*ProfileClient) GetProxyAddress ¶
func (c *ProfileClient) GetProxyAddress(ctx context.Context) (string, error)
GetProxyAddress calls the GetProxyAddress RPC.
func (*ProfileClient) GetSendKeepAlive ¶
func (c *ProfileClient) GetSendKeepAlive(ctx context.Context) (bool, error)
GetSendKeepAlive calls the GetSendKeepAlive RPC.
func (*ProfileClient) GetSipDomain ¶
func (c *ProfileClient) GetSipDomain(ctx context.Context) (string, error)
GetSipDomain calls the GetSipDomain RPC.
func (*ProfileClient) GetUriString ¶
func (c *ProfileClient) GetUriString(ctx context.Context) (string, error)
GetUriString calls the GetUriString RPC.
func (*ProfileClient) GetUserName ¶
func (c *ProfileClient) GetUserName(ctx context.Context) (string, error)
GetUserName calls the GetUserName RPC.
func (*ProfileClient) SetCallingUid ¶
func (c *ProfileClient) SetCallingUid(ctx context.Context, arg0 int32) error
SetCallingUid calls the SetCallingUid RPC.
func (*ProfileClient) WriteToParcel ¶
WriteToParcel calls the WriteToParcel RPC.
type RegistrationListenerClient ¶
type RegistrationListenerClient struct {
// contains filtered or unexported fields
}
RegistrationListenerClient wraps the gRPC RegistrationListenerService client.
func NewRegistrationListenerClient ¶
func NewRegistrationListenerClient(cc grpc.ClientConnInterface) *RegistrationListenerClient
NewRegistrationListenerClient creates a new RegistrationListener client.
func (*RegistrationListenerClient) OnRegistering ¶
func (c *RegistrationListenerClient) OnRegistering(ctx context.Context, arg0 string) error
OnRegistering calls the OnRegistering RPC.
func (*RegistrationListenerClient) OnRegistrationDone ¶
func (c *RegistrationListenerClient) OnRegistrationDone(ctx context.Context, arg0 string, arg1 int64) error
OnRegistrationDone calls the OnRegistrationDone RPC.
func (*RegistrationListenerClient) OnRegistrationFailed ¶
func (c *RegistrationListenerClient) OnRegistrationFailed(ctx context.Context, arg0 string, arg1 int32, arg2 string) error
OnRegistrationFailed calls the OnRegistrationFailed RPC.
type SessionClient ¶
type SessionClient struct {
// contains filtered or unexported fields
}
SessionClient wraps the gRPC SessionService client.
func NewSessionClient ¶
func NewSessionClient(cc grpc.ClientConnInterface) *SessionClient
NewSessionClient creates a new Session client.
func (*SessionClient) AnswerCall ¶
AnswerCall calls the AnswerCall RPC.
func (*SessionClient) ChangeCall ¶
ChangeCall calls the ChangeCall RPC.
func (*SessionClient) EndCall ¶
func (c *SessionClient) EndCall(ctx context.Context) error
EndCall calls the EndCall RPC.
func (*SessionClient) GetCallId ¶
func (c *SessionClient) GetCallId(ctx context.Context) (string, error)
GetCallId calls the GetCallId RPC.
func (*SessionClient) GetLocalIp ¶
func (c *SessionClient) GetLocalIp(ctx context.Context) (string, error)
GetLocalIp calls the GetLocalIp RPC.
func (*SessionClient) GetLocalProfile ¶
func (c *SessionClient) GetLocalProfile(ctx context.Context) (int64, error)
GetLocalProfile calls the GetLocalProfile RPC.
func (*SessionClient) GetPeerProfile ¶
func (c *SessionClient) GetPeerProfile(ctx context.Context) (int64, error)
GetPeerProfile calls the GetPeerProfile RPC.
func (*SessionClient) GetState ¶
func (c *SessionClient) GetState(ctx context.Context) (int32, error)
GetState calls the GetState RPC.
func (*SessionClient) IsInCall ¶
func (c *SessionClient) IsInCall(ctx context.Context) (bool, error)
IsInCall calls the IsInCall RPC.
func (*SessionClient) Register ¶
func (c *SessionClient) Register(ctx context.Context, arg0 int32) error
Register calls the Register RPC.
func (*SessionClient) SetListener ¶
func (c *SessionClient) SetListener(ctx context.Context, arg0 int64) error
SetListener calls the SetListener RPC.
func (*SessionClient) Unregister ¶
func (c *SessionClient) Unregister(ctx context.Context) error
Unregister calls the Unregister RPC.
type SessionListenerClient ¶
type SessionListenerClient struct {
// contains filtered or unexported fields
}
SessionListenerClient wraps the gRPC SessionListenerService client.
func NewSessionListenerClient ¶
func NewSessionListenerClient(cc grpc.ClientConnInterface) *SessionListenerClient
NewSessionListenerClient creates a new SessionListener client.
func (*SessionListenerClient) OnCallBusy ¶
func (c *SessionListenerClient) OnCallBusy(ctx context.Context, arg0 int64) error
OnCallBusy calls the OnCallBusy RPC.
func (*SessionListenerClient) OnCallChangeFailed ¶
func (c *SessionListenerClient) OnCallChangeFailed(ctx context.Context, arg0 int64, arg1 int32, arg2 string) error
OnCallChangeFailed calls the OnCallChangeFailed RPC.
func (*SessionListenerClient) OnCallEnded ¶
func (c *SessionListenerClient) OnCallEnded(ctx context.Context, arg0 int64) error
OnCallEnded calls the OnCallEnded RPC.
func (*SessionListenerClient) OnCallEstablished ¶
func (c *SessionListenerClient) OnCallEstablished(ctx context.Context, arg0 int64, arg1 string) error
OnCallEstablished calls the OnCallEstablished RPC.
func (*SessionListenerClient) OnCalling ¶
func (c *SessionListenerClient) OnCalling(ctx context.Context, arg0 int64) error
OnCalling calls the OnCalling RPC.
func (*SessionListenerClient) OnError ¶
func (c *SessionListenerClient) OnError(ctx context.Context, arg0 int64, arg1 int32, arg2 string) error
OnError calls the OnError RPC.
func (*SessionListenerClient) OnRegistering ¶
func (c *SessionListenerClient) OnRegistering(ctx context.Context, arg0 int64) error
OnRegistering calls the OnRegistering RPC.
func (*SessionListenerClient) OnRegistrationDone ¶
func (c *SessionListenerClient) OnRegistrationDone(ctx context.Context, arg0 int64, arg1 int32) error
OnRegistrationDone calls the OnRegistrationDone RPC.
func (*SessionListenerClient) OnRegistrationFailed ¶
func (c *SessionListenerClient) OnRegistrationFailed(ctx context.Context, arg0 int64, arg1 int32, arg2 string) error
OnRegistrationFailed calls the OnRegistrationFailed RPC.
func (*SessionListenerClient) OnRegistrationTimeout ¶
func (c *SessionListenerClient) OnRegistrationTimeout(ctx context.Context, arg0 int64) error
OnRegistrationTimeout calls the OnRegistrationTimeout RPC.
func (*SessionListenerClient) OnRinging ¶
func (c *SessionListenerClient) OnRinging(ctx context.Context, arg0 int64, arg1 int64, arg2 string) error
OnRinging calls the OnRinging RPC.
func (*SessionListenerClient) OnRingingBack ¶
func (c *SessionListenerClient) OnRingingBack(ctx context.Context, arg0 int64) error
OnRingingBack calls the OnRingingBack RPC.
type SessionStateClient ¶
type SessionStateClient struct {
// contains filtered or unexported fields
}
SessionStateClient wraps the gRPC SessionStateService client.
func NewSessionStateClient ¶
func NewSessionStateClient(cc grpc.ClientConnInterface) *SessionStateClient
NewSessionStateClient creates a new SessionState client.