C# Class iSpyApplication.Controls.VolumeLevel

Inheritance: AForge.Controls.PictureBox, ISpyControl
显示文件 Open project: ispysoftware/iSpy Class Usage Examples

Public Properties

Property Type Description
Alerted bool
AudioFileName string
AudioSource IAudioSource
AudioSourceErrorMessage string
AudioStreamMode Enums.AudioStreamMode
CameraControl CameraWindow
FlashCounter System.DateTime
InactiveRecord double
IsClone bool
IsEdit bool
IsReconnect bool
LoadedFiles bool
MainClass MainForm
Micobject objectsMicrophone
OutSockets List
ReconnectCount double
ResizeParent bool
RestoreRect Rectangle
ShuttingDown bool
SoundCount double
SoundDetected bool
WaveOut IWavePlayer

Private Properties

Property Type Description
ActionSchedule void
AlertThread void
CheckAlert void
CheckDisconnect void
CheckReconnect bool
CheckReconnectInterval void
CheckRecord void
CheckSchedule bool
CheckVLCTimeStamp void
DoAlert void
DrawButton void
DrawOverlay void
GenerateFileList void
GetButtonByIndex System.Drawing.Rectangle
GetButtonIndexByLocation int
GetMousePos MousePos
MailMerge string
ProcessAlertEvent void
Record void
ScanFiles void
ScanForMissingFiles void
SetErrorState void
TriggerDetect void
UpdateFloorplans void

Public Methods

Method Description
AddFile ( FilesFile f ) : void
Alarm ( object sender, EventArgs e ) : void
Apply ( ) : void
ApplySchedule ( ) : bool
AudioDeviceAudioFinished ( object sender, PlayingFinishedEventArgs e ) : void
AudioDeviceDataAvailable ( object sender, iSpyApplication.Audio.DataAvailableEventArgs e ) : void
AudioDeviceLevelChanged ( object sender, iSpyApplication.Audio.LevelChangedEventArgs eventArgs ) : void
ClearBuffer ( ) : void
ClearFileList ( ) : void
Disable ( bool stopSource = true ) : void
Enable ( ) : void
GetFiles ( ) : void
Listen ( ) : void
MicrophoneDisabled ( object sender, EventArgs e ) : void
MicrophoneEnabled ( object sender, EventArgs e ) : void
MicrophoneReconnected ( object sender, EventArgs e ) : void
RecordSwitch ( bool record ) : string
ReloadSchedule ( ) : void
RemoveFile ( string filename ) : void
SaveFileList ( ) : void
SaveFrame ( Bitmap bmp = null ) : string
StartSaving ( ) : void
StopSaving ( ) : void
Talk ( IWin32Window f = null ) : void
Tick ( ) : void
VolumeLevel ( objectsMicrophone om, MainForm mainForm ) : System
VolumeLevel_ErrorHandler ( string message ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnGotFocus ( EventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs pe ) : void
OnResize ( EventArgs eventargs ) : void

Private Methods

Method Description
ActionSchedule ( objectsScheduleEntry en, bool &enable, bool &disable ) : void
AlertThread ( string mode, string msg, int oid ) : void
CheckAlert ( double since ) : void
CheckDisconnect ( ) : void
CheckReconnect ( ) : bool
CheckReconnectInterval ( double since ) : void
CheckRecord ( ) : void
CheckSchedule ( ) : bool
CheckVLCTimeStamp ( ) : void
DoAlert ( string type, string msg = "" ) : void
DrawButton ( Graphics gCam, int buttonIndex ) : void
DrawOverlay ( Graphics gMic ) : void
GenerateFileList ( ) : void
GetButtonByIndex ( int buttonIndex, Rectangle &destRect ) : Rectangle
GetButtonIndexByLocation ( Point xy ) : int
GetMousePos ( Point location ) : MousePos
MailMerge ( string s, string mode, bool recorded = false, string pluginMessage = "" ) : string
ProcessAlertEvent ( string mode, string pluginmessage, string type, string param1, string param2, string param3, string param4 ) : void
Record ( ) : void
ScanFiles ( ) : void
ScanForMissingFiles ( ) : void
SetErrorState ( string reason ) : void
TriggerDetect ( object sender ) : void
UpdateFloorplans ( bool isAlert ) : void

Method Details

AddFile() public method

public AddFile ( FilesFile f ) : void
f FilesFile
return void

Alarm() public method

public Alarm ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Apply() public method

public Apply ( ) : void
return void

ApplySchedule() public method

public ApplySchedule ( ) : bool
return bool

AudioDeviceAudioFinished() public method

public AudioDeviceAudioFinished ( object sender, PlayingFinishedEventArgs e ) : void
sender object
e PlayingFinishedEventArgs
return void

AudioDeviceDataAvailable() public method

public AudioDeviceDataAvailable ( object sender, iSpyApplication.Audio.DataAvailableEventArgs e ) : void
sender object
e iSpyApplication.Audio.DataAvailableEventArgs
return void

AudioDeviceLevelChanged() public method

public AudioDeviceLevelChanged ( object sender, iSpyApplication.Audio.LevelChangedEventArgs eventArgs ) : void
sender object
eventArgs iSpyApplication.Audio.LevelChangedEventArgs
return void

ClearBuffer() public method

public ClearBuffer ( ) : void
return void

ClearFileList() public method

public ClearFileList ( ) : void
return void

Disable() public method

public Disable ( bool stopSource = true ) : void
stopSource bool
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Enable() public method

public Enable ( ) : void
return void

GetFiles() public method

public GetFiles ( ) : void
return void

Listen() public method

public Listen ( ) : void
return void

MicrophoneDisabled() public method

public MicrophoneDisabled ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

MicrophoneEnabled() public method

public MicrophoneEnabled ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

MicrophoneReconnected() public method

public MicrophoneReconnected ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

OnGotFocus() protected method

protected OnGotFocus ( EventArgs e ) : void
e EventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( EventArgs e ) : void
e EventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseEnter() protected method

protected OnMouseEnter ( EventArgs e ) : void
e EventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( EventArgs e ) : void
e EventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs pe ) : void
pe PaintEventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs eventargs ) : void
eventargs EventArgs
return void

RecordSwitch() public method

public RecordSwitch ( bool record ) : string
record bool
return string

ReloadSchedule() public method

public ReloadSchedule ( ) : void
return void

RemoveFile() public method

public RemoveFile ( string filename ) : void
filename string
return void

SaveFileList() public method

public SaveFileList ( ) : void
return void

SaveFrame() public method

public SaveFrame ( Bitmap bmp = null ) : string
bmp Bitmap
return string

StartSaving() public method

public StartSaving ( ) : void
return void

StopSaving() public method

public StopSaving ( ) : void
return void

Talk() public method

public Talk ( IWin32Window f = null ) : void
f IWin32Window
return void

Tick() public method

public Tick ( ) : void
return void

VolumeLevel() public method

public VolumeLevel ( objectsMicrophone om, MainForm mainForm ) : System
om objectsMicrophone
mainForm MainForm
return System

VolumeLevel_ErrorHandler() public method

public VolumeLevel_ErrorHandler ( string message ) : void
message string
return void

Property Details

Alerted public_oe property

public bool Alerted
return bool

AudioFileName public_oe property

public string AudioFileName
return string

AudioSource public_oe property

public IAudioSource AudioSource
return IAudioSource

AudioSourceErrorMessage public_oe property

public string AudioSourceErrorMessage
return string

AudioStreamMode public_oe property

public Enums.AudioStreamMode AudioStreamMode
return Enums.AudioStreamMode

CameraControl public_oe property

public CameraWindow,iSpyApplication.Controls CameraControl
return CameraWindow

FlashCounter public_oe property

public DateTime,System FlashCounter
return System.DateTime

InactiveRecord public_oe property

public double InactiveRecord
return double

IsClone public_oe property

public bool IsClone
return bool

IsEdit public_oe property

public bool IsEdit
return bool

IsReconnect public_oe property

public bool IsReconnect
return bool

LoadedFiles public_oe property

public bool LoadedFiles
return bool

MainClass public_oe property

public MainForm MainClass
return MainForm

Micobject public_oe property

public objectsMicrophone Micobject
return objectsMicrophone

OutSockets public_oe property

public List OutSockets
return List

ReconnectCount public_oe property

public double ReconnectCount
return double

ResizeParent public_oe property

public bool ResizeParent
return bool

RestoreRect public_oe property

public Rectangle RestoreRect
return Rectangle

ShuttingDown public_oe property

public bool ShuttingDown
return bool

SoundCount public_oe property

public double SoundCount
return double

SoundDetected public_oe property

public bool SoundDetected
return bool

WaveOut public_oe property

public IWavePlayer WaveOut
return IWavePlayer