Aracılığıyla paylaş


MediaPicker.PickVideoAsync(MediaPickerOptions) Method

Definition

Opens the media browser to select a video.

public static System.Threading.Tasks.Task<Microsoft.Maui.Storage.FileResult?> PickVideoAsync (Microsoft.Maui.Media.MediaPickerOptions? options = default);
static member PickVideoAsync : Microsoft.Maui.Media.MediaPickerOptions -> System.Threading.Tasks.Task<Microsoft.Maui.Storage.FileResult>
Public Shared Function PickVideoAsync (Optional options As MediaPickerOptions = Nothing) As Task(Of FileResult)

Parameters

options
MediaPickerOptions

Pick options to use.

Returns

A FileResult object containing details of the picked video. When the operation was cancelled by the user, this will return null.

Applies to