Click or drag to resize
Library Methods

The Library type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateCustomDevice
Instead of opening existing sound devices that TeamSpeak has detected, you can also use our custom capture and playback mechanism to allow you to override the way in which TeamSpeak does capture and playback. When you have opened a custom capture and playback device you must regularly supply new "captured" sound data via ProcessData(Int16, Int32) and retrieve data that should be "played back" via AcquireData(Int16, Int32). Where exactly this captured sound data comes from and where the playback data goes to is up to you, which allows a lot of cool things to be done with this mechanism. A custom device can be opened like any standard device with OpenCapture(ISoundDevice) and OpenPlayback(ISoundDevice).
Public methodStatic memberCreateIdentity
To connect to a server, a client application is required to request an identity from the Library. This string should be requested only once and then locally stored in the applications configuration. The next time the application connects to a server, the identity should be read from the configuration and reused again.
Public methodStatic memberDestroy
Releases the unmanaged resources used by the Library
Public methodStatic memberGetCaptureDevices
Get capture devices available for the given mode, as well as the current operating systems default.
Public methodStatic memberGetCaptureModes
Query all available capture modes
Public methodStatic memberGetErrorMessage
Gets a descriptive text message for a error-code
Public methodStatic memberGetPlaybackDevices
Get playback devices available for the given mode, as well as the current operating systems default.
Public methodStatic memberGetPlaybackModes
Query all available playback modes
Public methodStatic memberIdentityToUniqueIdentifier
Generate the unique identifier of a identity
Public methodStatic memberInitialize
Initializes the TeamSpeak clientlib
Public methodStatic memberInitialize(LibraryParameters)
Creates a new Library-Instance
Public methodStatic memberInitialize(LogTypes)
Initializes the TeamSpeak clientlib
Public methodStatic memberLog
Basic logging function.
Public methodStatic memberSpawnNewConnection
Before connecting to a TeamSpeak 3 server, a new Connection needs to be spawned. With a Connection a connection can be established and dropped multiple times, so for simply reconnecting to the same or another server no new Connection needs to be spawned but existing ones can be reused. However, for using multiple connections simultaneously a new Connection has to be spawned for each connection.
Top
See Also