IMediaPicker.CaptureVideoAsync(MediaPickerOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens the camera to take a video.
public System.Threading.Tasks.Task<Microsoft.Maui.Storage.FileResult?> CaptureVideoAsync (Microsoft.Maui.Media.MediaPickerOptions? options = default);
abstract member CaptureVideoAsync : Microsoft.Maui.Media.MediaPickerOptions -> System.Threading.Tasks.Task<Microsoft.Maui.Storage.FileResult>
Public Function CaptureVideoAsync (Optional options As MediaPickerOptions = Nothing) As Task(Of FileResult)
Parameters
- options
- MediaPickerOptions
Pick options to use.
Returns
A FileResult object containing details of the captured video. When the operation was cancelled by the user, this will return null
.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.