C# Class VoiceRecorder.MainPage

Inheritance: PhoneApplicationPage
Exibir arquivo Open project: timothybinkley/Windows-Phone-8-In-Action

Public Methods

Method Description
MainPage ( ) : Microsoft.Devices

Protected Methods

Method Description
OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void

If a voice recording file name is passed in a query string (from the Music + Video hub) then play the wav file.

Private Methods

Method Description
DisplayRecordingNames ( ) : Task

Add the file and recorded date to the ListBox

PlayFile ( string filename ) : void
WriteFile ( ) : Task
createMediaHistoryItem ( string fullFileName, System.Boolean smallSize ) : MediaHistoryItem
microphone_BufferReady ( object sender, EventArgs e ) : void

Copies the available audio data to the MemoryStream.

play_Click ( object sender, EventArgs e ) : void
record_Click ( object sender, EventArgs e ) : void
stopRecord_Click ( object sender, EventArgs e ) : void

Method Details

MainPage() public method

public MainPage ( ) : Microsoft.Devices
return Microsoft.Devices

OnNavigatedTo() protected method

If a voice recording file name is passed in a query string (from the Music + Video hub) then play the wav file.
protected OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void
e System.Windows.Navigation.NavigationEventArgs
return void