C# Class WPCordovaClassLib.Cordova.UI.VideoRecorder

Inheritance: PhoneApplicationPage
Mostrar archivo Open project: ChristianWeyer/tUdUs Class Usage Examples

Public Methods

Method Description
InitializeVideoRecorder ( ) : void

Initializes VideoRecorder

VideoRecorder ( ) : System

Initializes components

Protected Methods

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

Disposes camera and media objects then leave the page

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

Initializes the video recorder then page is loading

Private Methods

Method Description
DisposeVideoRecorder ( ) : void

Releases resources

NavigateBack ( ) : void
SaveVideoClip ( ) : WPCordovaClassLib.Cordova.UI.VideoCaptureTask.VideoResult

Resaves video clip from temporary directory to persistent

StartRecording_Click ( object sender, EventArgs e ) : void

Starts video recording

StartVideoPreview ( ) : void

Sets the recording state: display the video on the viewfinder.

StartVideoRecording ( ) : void

Sets recording state: start recording

StopVideoRecording ( ) : void

Sets the recording state: stop recording

TakeVideo_Click ( object sender, EventArgs e ) : void

Handles TakeVideo button click

UpdateUI ( VideoState currentState ) : void

Updates the buttons on the UI thread based on current state.

Method Details

InitializeVideoRecorder() public method

Initializes VideoRecorder
public InitializeVideoRecorder ( ) : void
return void

OnNavigatedFrom() protected method

Disposes camera and media objects then leave the page
protected OnNavigatedFrom ( System.Windows.Navigation.NavigationEventArgs e ) : void
e System.Windows.Navigation.NavigationEventArgs
return void

OnNavigatedTo() protected method

Initializes the video recorder then page is loading
protected OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void
e System.Windows.Navigation.NavigationEventArgs
return void

VideoRecorder() public method

Initializes components
public VideoRecorder ( ) : System
return System