C# Класс WPCordovaClassLib.Cordova.UI.VideoRecorder

Наследование: PhoneApplicationPage
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
InitializeVideoRecorder ( ) : void

Initializes VideoRecorder

VideoRecorder ( ) : System

Initializes components

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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.

Описание методов

InitializeVideoRecorder() публичный Метод

Initializes VideoRecorder
public InitializeVideoRecorder ( ) : void
Результат void

OnNavigatedFrom() защищенный Метод

Disposes camera and media objects then leave the page
protected OnNavigatedFrom ( System.Windows.Navigation.NavigationEventArgs e ) : void
e System.Windows.Navigation.NavigationEventArgs
Результат void

OnNavigatedTo() защищенный Метод

Initializes the video recorder then page is loading
protected OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void
e System.Windows.Navigation.NavigationEventArgs
Результат void

VideoRecorder() публичный Метод

Initializes components
public VideoRecorder ( ) : System
Результат System