C# Класс SIPSorcery.SoftPhone.GingleClient

Наследование: IVoIPClient
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Answer ( ) : void
Answer ( MediaManager mediaManager ) : void
Call ( MediaManager mediaManager, string destination ) : void

Attempts to establish a new VoIP call via the Google Voice gateway.

Call ( string destination ) : void

Attempts to establish a new VoIP call via the Google Voice gateway.

Cancel ( ) : void

Cancel an outgoing Google Voice call that is in progress.

GingleClient ( ) : System
Hangup ( ) : void

Hangup the Google Voice call.

Redirect ( string destination ) : void
Reject ( ) : void
Shutdown ( ) : void

Close down the XMPP client completely along with the audio channel if it's open. This typically happens when the application is exiting.

Приватные методы

Метод Описание
BindClient ( ) : void

Establishes the XMPP connection with the Google Voice gateway. Once the connection is bound it can be used to establish calls over.

CallFinished ( ) : void

The Google Voice call has completely finished and it's now safe to shutdown the audio channel.

XMPPAnswered ( SDP xmppSDP ) : void

Event handler for an answer on an outgoing Google Voice call.

XMPPCallFailed ( ) : void

The outgoing Google Voice call failed.

XMPPDisconnected ( ) : void

The XMPP connection was disconnected.

Описание методов

Answer() публичный Метод

public Answer ( ) : void
Результат void

Answer() публичный Метод

public Answer ( MediaManager mediaManager ) : void
mediaManager MediaManager
Результат void

Call() публичный Метод

Attempts to establish a new VoIP call via the Google Voice gateway.
public Call ( MediaManager mediaManager, string destination ) : void
mediaManager MediaManager
destination string The destination number to call.
Результат void

Call() публичный Метод

Attempts to establish a new VoIP call via the Google Voice gateway.
public Call ( string destination ) : void
destination string The destination number to call.
Результат void

Cancel() публичный Метод

Cancel an outgoing Google Voice call that is in progress.
public Cancel ( ) : void
Результат void

GingleClient() публичный Метод

public GingleClient ( ) : System
Результат System

Hangup() публичный Метод

Hangup the Google Voice call.
public Hangup ( ) : void
Результат void

Redirect() публичный Метод

public Redirect ( string destination ) : void
destination string
Результат void

Reject() публичный Метод

public Reject ( ) : void
Результат void

Shutdown() публичный Метод

Close down the XMPP client completely along with the audio channel if it's open. This typically happens when the application is exiting.
public Shutdown ( ) : void
Результат void