C# 클래스 SurfaceBluetooth.ObexAudio

상속: ObexItem
파일 보기 프로젝트 열기: smalice/SurfaceWPFApp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AlbumArtProperty System.Windows.DependencyProperty
AudioFileProperty System.Windows.DependencyProperty
IsPlayingProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
OnAudioFilePropertyChanged void
OnIsPlayingChanged void
PlayerMediaEnded void
Player_MediaFailed void
UpdateMediaPlayer void

공개 메소드들

메소드 설명
Pause ( ) : void

Pause the ringtone

Play ( ) : void

Start playing the ringtone.

Stop ( ) : void

Stop playing the ringtone and restart.

WriteToStream ( Stream s ) : void

비공개 메소드들

메소드 설명
OnAudioFilePropertyChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnIsPlayingChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs args ) : void
PlayerMediaEnded ( object sender, EventArgs e ) : void

Handler for event sent by the WPF MediaPlayer when it reaches the end of the media.

Player_MediaFailed ( object sender, ExceptionEventArgs e ) : void
UpdateMediaPlayer ( Uri uri ) : void

메소드 상세

Pause() 공개 메소드

Pause the ringtone
public Pause ( ) : void
리턴 void

Play() 공개 메소드

Start playing the ringtone.
public Play ( ) : void
리턴 void

Stop() 공개 메소드

Stop playing the ringtone and restart.
public Stop ( ) : void
리턴 void

WriteToStream() 공개 메소드

public WriteToStream ( Stream s ) : void
s Stream
리턴 void

프로퍼티 상세

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

public static DependencyProperty,System.Windows AlbumArtProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows AudioFileProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows IsPlayingProperty
리턴 System.Windows.DependencyProperty