C# 클래스 Unosquare.FFmpegMediaElement.MediaElement

파일 보기 프로젝트 열기: bbougot/Popcorn

공개 프로퍼티들

프로퍼티 타입 설명
BalanceProperty System.Windows.DependencyProperty
IsMutedProperty System.Windows.DependencyProperty
LoadedBehaviorProperty System.Windows.DependencyProperty
MediaEndedEvent System.Windows.RoutedEvent
MediaErroredEvent System.Windows.RoutedEvent
MediaFailedEvent System.Windows.RoutedEvent
MediaOpenedEvent System.Windows.RoutedEvent
PositionProperty System.Windows.DependencyProperty
RefererProperty System.Windows.DependencyProperty
ScrubbingEnabledProperty System.Windows.DependencyProperty
SourceProperty System.Windows.DependencyProperty
SpeedRatioProperty System.Windows.DependencyProperty
StretchDirectionProperty System.Windows.DependencyProperty
StretchProperty System.Windows.DependencyProperty
UnloadedBehaviorProperty System.Windows.DependencyProperty
UserAgentProperty System.Windows.DependencyProperty
VolumeProperty DependencyProperty

공개 메소드들

메소드 설명
Close ( ) : void

Closes the media source and releases its resources

CoerceBalanceProperty ( DependencyObject d, object value ) : object
CoercePositionProperty ( DependencyObject d, object value ) : object
CoerceSpeedRatioProperty ( DependencyObject d, object value ) : object
Pause ( ) : void

Pauses media playback.

Play ( ) : void

Begins playback if not already playing

Stop ( ) : void

Stops media playback.

비공개 메소드들

메소드 설명
BalancePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
CloseMedia ( bool updateProperties ) : void

Closes the media.

HandleMediaPropertyChanged ( object sender, System e ) : void

Handles the PropertyChanged event of the underlying media.

IsMutedPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
LoadedBehaviorPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMediaError ( object sender, Exception ex ) : void

Called when a media error occurs.

OnSourcePropertyChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called when [source property changed].

OnSourcePropertyCoerce ( DependencyObject dependencyObject, object baseValue ) : object
OnStretchDirectionPropertyChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called when [stretch direction property changed].

OnStretchPropertyChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called when [stretch property changed].

OpenMedia ( Uri sourceUri, string referer, string userAgent ) : void

Opens the media.

PositionPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
ScrubbingEnabledPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SeekPositionUpdateTimerTick ( object sender, EventArgs e ) : void

Callback when the seek position timer ticks.

SpeedRatioPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
UnloadedBehaviorPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
UpdateMediaProperties ( ) : void

Updates the media properties.

VolumePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

메소드 상세

Close() 공개 메소드

Closes the media source and releases its resources
public Close ( ) : void
리턴 void

CoerceBalanceProperty() 공개 정적인 메소드

public static CoerceBalanceProperty ( DependencyObject d, object value ) : object
d System.Windows.DependencyObject
value object
리턴 object

CoercePositionProperty() 공개 정적인 메소드

public static CoercePositionProperty ( DependencyObject d, object value ) : object
d System.Windows.DependencyObject
value object
리턴 object

CoerceSpeedRatioProperty() 공개 정적인 메소드

public static CoerceSpeedRatioProperty ( DependencyObject d, object value ) : object
d System.Windows.DependencyObject
value object
리턴 object

Pause() 공개 메소드

Pauses media playback.
public Pause ( ) : void
리턴 void

Play() 공개 메소드

Begins playback if not already playing
public Play ( ) : void
리턴 void

Stop() 공개 메소드

Stops media playback.
public Stop ( ) : void
리턴 void

프로퍼티 상세

BalanceProperty 공개적으로 정적으로 프로퍼티

     The DependencyProperty for the MediaElement.Balance property.
public static DependencyProperty,System.Windows BalanceProperty
리턴 System.Windows.DependencyProperty

IsMutedProperty 공개적으로 정적으로 프로퍼티

The DependencyProperty for the MediaElement.IsMuted property.
public static DependencyProperty,System.Windows IsMutedProperty
리턴 System.Windows.DependencyProperty

LoadedBehaviorProperty 공개적으로 정적으로 프로퍼티

The DependencyProperty for the MediaElement.LoadedBehavior property.
public static DependencyProperty,System.Windows LoadedBehaviorProperty
리턴 System.Windows.DependencyProperty

MediaEndedEvent 공개적으로 정적으로 프로퍼티

MediaEnded is a routed event
public static RoutedEvent,System.Windows MediaEndedEvent
리턴 System.Windows.RoutedEvent

MediaErroredEvent 공개적으로 정적으로 프로퍼티

MediaErrorEvent is a routed event.
public static RoutedEvent,System.Windows MediaErroredEvent
리턴 System.Windows.RoutedEvent

MediaFailedEvent 공개적으로 정적으로 프로퍼티

MediaFailedEvent is a routed event.
public static RoutedEvent,System.Windows MediaFailedEvent
리턴 System.Windows.RoutedEvent

MediaOpenedEvent 공개적으로 정적으로 프로퍼티

MediaOpened is a routed event.
public static RoutedEvent,System.Windows MediaOpenedEvent
리턴 System.Windows.RoutedEvent

PositionProperty 공개적으로 정적으로 프로퍼티

     The DependencyProperty for the MediaElement.Position property.
public static DependencyProperty,System.Windows PositionProperty
리턴 System.Windows.DependencyProperty

RefererProperty 공개적으로 정적으로 프로퍼티

Dependency property for the Referer property
public static DependencyProperty,System.Windows RefererProperty
리턴 System.Windows.DependencyProperty

ScrubbingEnabledProperty 공개적으로 정적으로 프로퍼티

The DependencyProperty for the MediaElement.ScrubbingEnabled property.
public static DependencyProperty,System.Windows ScrubbingEnabledProperty
리턴 System.Windows.DependencyProperty

SourceProperty 공개적으로 정적으로 프로퍼티

DependencyProperty for FFmpegMediaElement Source property.
public static DependencyProperty,System.Windows SourceProperty
리턴 System.Windows.DependencyProperty

SpeedRatioProperty 공개적으로 정적으로 프로퍼티

     The DependencyProperty for the MediaElement.SpeedRatio property.
public static DependencyProperty,System.Windows SpeedRatioProperty
리턴 System.Windows.DependencyProperty

StretchDirectionProperty 공개적으로 정적으로 프로퍼티

DependencyProperty for StretchDirection property.
public static DependencyProperty,System.Windows StretchDirectionProperty
리턴 System.Windows.DependencyProperty

StretchProperty 공개적으로 정적으로 프로퍼티

DependencyProperty for Stretch property.
public static DependencyProperty,System.Windows StretchProperty
리턴 System.Windows.DependencyProperty

UnloadedBehaviorProperty 공개적으로 정적으로 프로퍼티

The DependencyProperty for the MediaElement.UnloadedBehavior property.
public static DependencyProperty,System.Windows UnloadedBehaviorProperty
리턴 System.Windows.DependencyProperty

UserAgentProperty 공개적으로 정적으로 프로퍼티

Dependency property for the user agent property
public static DependencyProperty,System.Windows UserAgentProperty
리턴 System.Windows.DependencyProperty

VolumeProperty 공개적으로 정적으로 프로퍼티

     The DependencyProperty for the MediaElement.Volume property.
public static DependencyProperty VolumeProperty
리턴 DependencyProperty