C# Class WPCordovaClassLib.Cordova.UI.VideoRecorder

Inheritance: PhoneApplicationPage
Afficher le fichier Open project: ChristianWeyer/tUdUs Class Usage Examples

Méthodes publiques

Méthode Description
InitializeVideoRecorder ( ) : void

Initializes VideoRecorder

VideoRecorder ( ) : System

Initializes components

Méthodes protégées

Méthode 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

Méthode 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 méthode

Initializes VideoRecorder
public InitializeVideoRecorder ( ) : void
Résultat void

OnNavigatedFrom() protected méthode

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

OnNavigatedTo() protected méthode

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

VideoRecorder() public méthode

Initializes components
public VideoRecorder ( ) : System
Résultat System