C# Class System.Windows.Media.MediaStreamSource

显示文件 Open project: shana/moon Class Usage Examples

Private Properties

Property Type Description
CloseMediaInternal void
CloseMediaInternal void
FromIntPtr MediaStreamSource
GetDiagnosticAsyncInternal void
GetDiagnosticAsyncInternal void
GetSampleAsyncInternal void
GetSampleAsyncInternal void
OpenMediaAsyncInternal void
OpenMediaAsyncInternal void
SeekAsyncInternal void
SeekAsyncInternal void
SetMediaElement void
SwitchMediaStreamAsyncInternal void
SwitchMediaStreamAsyncInternal void

Protected Methods

Method Description
CloseMedia ( ) : void
ErrorOccurred ( string errorDescription ) : void
GetDiagnosticAsync ( MediaStreamSourceDiagnosticKind diagnosticKind ) : void
GetSampleAsync ( MediaStreamType mediaStreamType ) : void
MediaStreamSource ( ) : Mono
OpenMediaAsync ( ) : void
ReportGetDiagnosticCompleted ( MediaStreamSourceDiagnosticKind diagnosticKind, long diagnosticValue ) : void
ReportGetSampleCompleted ( System.Windows.Media.MediaStreamSample mediaStreamSample ) : void
ReportGetSampleProgress ( double bufferingProgress ) : void
ReportOpenMediaCompleted ( string>.IDictionary mediaStreamAttributes, IEnumerable availableMediaStreams ) : void
ReportSeekCompleted ( long timeSeekedTo ) : void
ReportSwitchMediaStreamCompleted ( System.Windows.Media.MediaStreamDescription mediaStreamDescription ) : void
SeekAsync ( long seekToTime ) : void
SwitchMediaStreamAsync ( System.Windows.Media.MediaStreamDescription mediaStreamDescription ) : void

Private Methods

Method Description
CloseMediaInternal ( ) : void
CloseMediaInternal ( IntPtr instance ) : void
FromIntPtr ( IntPtr instance ) : MediaStreamSource
GetDiagnosticAsyncInternal ( IntPtr instance, MediaStreamSourceDiagnosticKind diagnosticKind ) : void
GetDiagnosticAsyncInternal ( MediaStreamSourceDiagnosticKind diagnosticKind ) : void
GetSampleAsyncInternal ( IntPtr instance, MediaStreamType mediaStreamType ) : void
GetSampleAsyncInternal ( MediaStreamType mediaStreamType ) : void
OpenMediaAsyncInternal ( IntPtr demuxer ) : void
OpenMediaAsyncInternal ( IntPtr instance, IntPtr demuxer ) : void
SeekAsyncInternal ( IntPtr instance, long seekToTime ) : void
SeekAsyncInternal ( long seekToTime ) : void
SetMediaElement ( System.Windows.Controls.MediaElement mediaElement ) : void
SwitchMediaStreamAsyncInternal ( IntPtr instance, System.Windows.Media.MediaStreamDescription mediaStreamDescription ) : void
SwitchMediaStreamAsyncInternal ( System.Windows.Media.MediaStreamDescription mediaStreamDescription ) : void

Method Details

CloseMedia() protected abstract method

protected abstract CloseMedia ( ) : void
return void

ErrorOccurred() protected method

protected ErrorOccurred ( string errorDescription ) : void
errorDescription string
return void

GetDiagnosticAsync() protected abstract method

protected abstract GetDiagnosticAsync ( MediaStreamSourceDiagnosticKind diagnosticKind ) : void
diagnosticKind MediaStreamSourceDiagnosticKind
return void

GetSampleAsync() protected abstract method

protected abstract GetSampleAsync ( MediaStreamType mediaStreamType ) : void
mediaStreamType MediaStreamType
return void

MediaStreamSource() protected method

protected MediaStreamSource ( ) : Mono
return Mono

OpenMediaAsync() protected abstract method

protected abstract OpenMediaAsync ( ) : void
return void

ReportGetDiagnosticCompleted() protected method

protected ReportGetDiagnosticCompleted ( MediaStreamSourceDiagnosticKind diagnosticKind, long diagnosticValue ) : void
diagnosticKind MediaStreamSourceDiagnosticKind
diagnosticValue long
return void

ReportGetSampleCompleted() protected method

protected ReportGetSampleCompleted ( System.Windows.Media.MediaStreamSample mediaStreamSample ) : void
mediaStreamSample System.Windows.Media.MediaStreamSample
return void

ReportGetSampleProgress() protected method

protected ReportGetSampleProgress ( double bufferingProgress ) : void
bufferingProgress double
return void

ReportOpenMediaCompleted() protected method

protected ReportOpenMediaCompleted ( string>.IDictionary mediaStreamAttributes, IEnumerable availableMediaStreams ) : void
mediaStreamAttributes string>.IDictionary
availableMediaStreams IEnumerable
return void

ReportSeekCompleted() protected method

protected ReportSeekCompleted ( long timeSeekedTo ) : void
timeSeekedTo long
return void

ReportSwitchMediaStreamCompleted() protected method

protected ReportSwitchMediaStreamCompleted ( System.Windows.Media.MediaStreamDescription mediaStreamDescription ) : void
mediaStreamDescription System.Windows.Media.MediaStreamDescription
return void

SeekAsync() protected abstract method

protected abstract SeekAsync ( long seekToTime ) : void
seekToTime long
return void

SwitchMediaStreamAsync() protected abstract method

protected abstract SwitchMediaStreamAsync ( System.Windows.Media.MediaStreamDescription mediaStreamDescription ) : void
mediaStreamDescription System.Windows.Media.MediaStreamDescription
return void