Свойство | Тип | Описание | |
---|---|---|---|
AudioDeviceIdProperty | |||
AudioDeviceNameProperty | |||
AudioDeviceProperty | |||
PhotoCaptureCountdownSecondsProperty | |||
PickAudioDeviceAutomaticallyProperty | |||
PickVideoDeviceAutomaticallyProperty | |||
PreferredCameraTypeProperty | |||
ShowOnLoadProperty | |||
StreamingCaptureModeProperty | |||
VideoDeviceEnclosureLocationProperty | |||
VideoDeviceIdProperty | |||
VideoDeviceNameProperty | |||
VideoDeviceProperty | |||
VideoEncodingQualityProperty |
Свойство | Тип | Описание | |
---|---|---|---|
CheckStreamingCaptureModeConfiguration | bool | ||
FindAudioCaptureDevicesAsync | System.Threading.Tasks.Task | ||
FindVideoCaptureDevicesAsync | System.Threading.Tasks.Task | ||
InitializeAsync | Task |
||
OnAudioDeviceIdChanged | void | ||
OnCameraFailed | void | ||
OnLoaded | void | ||
OnMediaCaptureFailed | void | ||
OnStreamingCaptureModeChanged | void | ||
OnUnloaded | void | ||
OnVideoDeviceIdChanged | void | ||
ShowMicrophoneSelectorAsync | Task |
||
ShowWebCamSelectorAsync | Task |
||
StartPreviewAsync | Task |
||
TraceDeviceDetails | void |
Метод | Описание | |
---|---|---|
CameraCaptureControl ( ) : System |
Initializes a new instance of the CameraCaptureControl class.
|
|
CapturePhotoToStorageFileAsync ( |
Captures the photo to storage file asynchronously.
|
|
CapturePhotoToStreamAsync ( IRandomAccessStream stream, |
Captures a photo to a stream asynchronously.
|
|
CycleCamerasAsync ( ) : Task |
Cycles the cameras asynchronously.
|
|
HideAsync ( ) : System.Threading.Tasks.Task |
Hides the camera preview asynchronously.
|
|
ShowAsync ( ) : Task |
Shows the preview asynchronously (completes when the camera is initialized)..
|
|
StartVideoCaptureAsync ( |
Starts the video capture asynchronously.
|
|
StopCaptureAsync ( ) : Task |
Stops the video capture.
|
Метод | Описание | |
---|---|---|
OnApplyTemplate ( ) : void |
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.
|
|
OnAudioDeviceIdChanged ( string oldAudioDeviceId, string newAudioDeviceId ) : void |
Provides derived classes an opportunity to handle changes to the AudioDeviceId property.
|
|
OnStreamingCaptureModeChanged ( StreamingCaptureMode oldStreamingCaptureMode, StreamingCaptureMode newStreamingCaptureMode ) : void |
Provides derived classes an opportunity to handle changes to the StreamingCaptureMode property.
|
|
OnVideoDeviceIdChanged ( string oldVideoDeviceId, string newVideoDeviceId ) : void |
Provides derived classes an opportunity to handle changes to the VideoDeviceId property.
|
Метод | Описание | |
---|---|---|
CheckStreamingCaptureModeConfiguration ( ) : bool | ||
FindAudioCaptureDevicesAsync ( ) : System.Threading.Tasks.Task | ||
FindVideoCaptureDevicesAsync ( ) : System.Threading.Tasks.Task | ||
InitializeAsync ( ) : Task |
Performs the one time initialization and shows the preview (if video).
|
|
OnAudioDeviceIdChanged ( |
Handles changes to the AudioDeviceId property.
|
|
OnCameraFailed ( object sender, |
||
OnLoaded ( object sender, |
||
OnMediaCaptureFailed ( |
||
OnStreamingCaptureModeChanged ( |
Handles changes to the StreamingCaptureMode property.
|
|
OnUnloaded ( object sender, |
||
OnVideoDeviceIdChanged ( |
Handles changes to the VideoDeviceId property.
|
|
ShowMicrophoneSelectorAsync ( ) : Task |
||
ShowWebCamSelectorAsync ( ) : Task |
||
StartPreviewAsync ( ) : Task |
||
TraceDeviceDetails ( ) : void |
public CapturePhotoToStorageFileAsync ( |
||
folder | The folder. | |
fileName | string | Name of the file. |
defaultExtension | string | The default extension. |
Результат | Task |
public CapturePhotoToStreamAsync ( IRandomAccessStream stream, |
||
stream | IRandomAccessStream | The stream. |
imageEncodingProperties | The image encoding properties. | |
Результат | System.Threading.Tasks.Task |
public HideAsync ( ) : System.Threading.Tasks.Task | ||
Результат | System.Threading.Tasks.Task |
protected OnAudioDeviceIdChanged ( string oldAudioDeviceId, string newAudioDeviceId ) : void | ||
oldAudioDeviceId | string | The old AudioDeviceId value |
newAudioDeviceId | string | The new AudioDeviceId value |
Результат | void |
protected OnStreamingCaptureModeChanged ( StreamingCaptureMode oldStreamingCaptureMode, StreamingCaptureMode newStreamingCaptureMode ) : void | ||
oldStreamingCaptureMode | StreamingCaptureMode | The old StreamingCaptureMode value |
newStreamingCaptureMode | StreamingCaptureMode | The new StreamingCaptureMode value |
Результат | void |
protected OnVideoDeviceIdChanged ( string oldVideoDeviceId, string newVideoDeviceId ) : void | ||
oldVideoDeviceId | string | The old VideoDeviceId value |
newVideoDeviceId | string | The new VideoDeviceId value |
Результат | void |
public StartVideoCaptureAsync ( |
||
folder | The folder. | |
fileName | string | Name of the file. |
Результат | Task |
public static DependencyProperty,Windows.UI.Xaml AudioDeviceIdProperty | ||
Результат |
public static DependencyProperty,Windows.UI.Xaml AudioDeviceNameProperty | ||
Результат |
public static DependencyProperty,Windows.UI.Xaml AudioDeviceProperty | ||
Результат |
public static DependencyProperty,Windows.UI.Xaml PhotoCaptureCountdownSecondsProperty | ||
Результат |
public static DependencyProperty,Windows.UI.Xaml PickAudioDeviceAutomaticallyProperty | ||
Результат |
public static DependencyProperty,Windows.UI.Xaml PickVideoDeviceAutomaticallyProperty | ||
Результат |
public static DependencyProperty,Windows.UI.Xaml PreferredCameraTypeProperty | ||
Результат |
public static DependencyProperty,Windows.UI.Xaml ShowOnLoadProperty | ||
Результат |
public static DependencyProperty,Windows.UI.Xaml StreamingCaptureModeProperty | ||
Результат |
public static DependencyProperty,Windows.UI.Xaml VideoDeviceEnclosureLocationProperty | ||
Результат |
public static DependencyProperty,Windows.UI.Xaml VideoDeviceIdProperty | ||
Результат |
public static DependencyProperty,Windows.UI.Xaml VideoDeviceNameProperty | ||
Результат |
public static DependencyProperty,Windows.UI.Xaml VideoDeviceProperty | ||
Результат |