C# Class FSClient.HeadsetPluginManager

Inheritance: PluginManagerBase
Exibir arquivo Open project: mitchcapper/FSClient Class Usage Examples

Public Methods

Method Description
ActiveDevice ( ) : string
AvailableDevices ( ) : string[]
Dispose ( ) : void
GetPluginManager ( SettingsPluginDataCollection settings ) : HeadsetPluginManager
GetPlugins ( ) : IEnumerable
HeadsetPluginManager ( ) : System
LoadPlugins ( ) : void
PluginManagerName ( ) : string
SetActiveDevice ( String name ) : void
SetCallerID ( String name, String number ) : void

Protected Methods

Method Description
HandlePluginLoadReflectionException ( PluginData data, ReflectionTypeLoadException ex ) : void
NewPluginData ( String dll ) : PluginData
PluginLoadAddPlugin ( PluginData plugin ) : void
PluginLoadRegisterPlugin ( PluginData plugin ) : void
SetPlugins ( IEnumerable plugins ) : void

Private Methods

Method Description
BrokerAnsweredChanged ( object sender, bool data ) : void
BrokerCallRingingChanged ( object sender, bool data ) : void
BrokerDevicesReadyChanged ( object sender, bool data ) : void
BrokerMuteChanged ( object sender, bool data ) : void
CreateEvent ( IDeviceHost type, bool enable ) : void
CreateEvent ( IDeviceHost type, bool enable, bool is_during_call ) : void
DeviceAdded ( object sender, IHeadsetPlugin e ) : void
DeviceRemoved ( object sender, IHeadsetPlugin e ) : void
DeviceStatusChanged ( object sender, IHeadsetDevice e ) : void
HandleError ( PluginError error, PluginData failed_state = PluginData.PluginDataState.DISABLED_ERROR ) : void
Hold ( bool enable ) : void
InCallRing ( bool enable ) : void
LineActive ( bool enable, bool in_call ) : void
Mute ( bool enable ) : void
Ring ( bool enable ) : void
init_plugin ( HeadsetPluginData plugin ) : void

Method Details

ActiveDevice() public method

public ActiveDevice ( ) : string
return string

AvailableDevices() public method

public AvailableDevices ( ) : string[]
return string[]

Dispose() public method

public Dispose ( ) : void
return void

GetPluginManager() public static method

public static GetPluginManager ( SettingsPluginDataCollection settings ) : HeadsetPluginManager
settings SettingsPluginDataCollection
return HeadsetPluginManager

GetPlugins() public method

public GetPlugins ( ) : IEnumerable
return IEnumerable

HandlePluginLoadReflectionException() protected method

protected HandlePluginLoadReflectionException ( PluginData data, ReflectionTypeLoadException ex ) : void
data PluginData
ex System.Reflection.ReflectionTypeLoadException
return void

HeadsetPluginManager() public method

public HeadsetPluginManager ( ) : System
return System

LoadPlugins() public method

public LoadPlugins ( ) : void
return void

NewPluginData() protected method

protected NewPluginData ( String dll ) : PluginData
dll String
return PluginData

PluginLoadAddPlugin() protected method

protected PluginLoadAddPlugin ( PluginData plugin ) : void
plugin PluginData
return void

PluginLoadRegisterPlugin() protected method

protected PluginLoadRegisterPlugin ( PluginData plugin ) : void
plugin PluginData
return void

PluginManagerName() public method

public PluginManagerName ( ) : string
return string

SetActiveDevice() public method

public SetActiveDevice ( String name ) : void
name String
return void

SetCallerID() public method

public SetCallerID ( String name, String number ) : void
name String
number String
return void

SetPlugins() protected method

protected SetPlugins ( IEnumerable plugins ) : void
plugins IEnumerable
return void