Ozeki VoIP SDK Class library
Speaker Class
NamespacesOzeki.Media.MediaHandlersSpeaker
Class for playing audio through speakers.
Declaration Syntax
C#Visual BasicVisual C++
public class Speaker : AudioHandler, IAudioControl, 
	IMediaControl
Public Class Speaker _
	Inherits AudioHandler _
	Implements IAudioControl, IMediaControl
public ref class Speaker : public AudioHandler, 
	IAudioControl, IMediaControl
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
Speaker(DeviceInfo, AudioFormat)
Initializes a new instance of the Speaker class

ChangeFormat(WaveFormat)
Changes the playback format of the device.

DataReceived(Object, VoIPEventArgs<(Of <<'(AudioData>)>>))
This will be called when media data received from a media handler.
(Overrides AudioHandler.DataReceived(Object, VoIPEventArgs<(Of <<'(AudioData>)>>)).)
DataSent
Event that occurs when the data is ready to send.
(Inherited from AudioHandler.)
DeviceInfo
Gets the product information of the speaker device.

Dispose(Boolean)
Disposes the object.
(Overrides VoIPMediaHandler.Dispose(Boolean).)
Dispose()()()()
Disposes the object.
(Inherited from VoIPMediaHandler.)
DisposeDevices()()()()
Disposes the previously created and not disposed devices.

Finalize()()()()
(Inherited from VoIPMediaHandler.)
GetDefaultDevice()()()()
Retreives the default playback device.

GetDevice(DeviceInfo)
Retreives the specified playback device.

GetDevices()()()()
Retrieves the available playback devices.

GetDevicesCount()()()()
Retreives the number of available playback devices.

Initialized
Returns a boolean value indicating whether the selected speaker device is ready.

Level
Gets the level of the speaker output. (Range: 0-100)

LevelChanged
Occurs when the speaker level has changed.

MediaFormat
Gets the MediaFormat of the media handler.
(Inherited from AudioHandler.)
MediaFormatChanged
Occurs when the MediaFormat of the media handler has changed.
(Inherited from AudioHandler.)
Muted
Gets or sets a boolean value indicating whether the speaker is muted.

Pause()()()()
Pauses the playing.

SendData(AudioData)
Sends media data to the connected media handlers.
(Inherited from AudioHandler.)
Start()()()()
Starts playing the audio from the speaker.

State
Gets the state of the playback device.

Stop()()()()
Stops the playing.

Stopped
Occurs when the speaker stopped playing.

Volume
Gets or sets the volume of the speaker. (Range: 0-1)

Inheritance Hierarchy

Assembly: VoIPSDK (Module: VoIPSDK) Version: 10.0.6.243