30 references to FileResult
Microsoft.Maui.Essentials (30)
FilePicker\FilePicker.netstandard.watchos.tvos.cs (1)
9
Task<IEnumerable<
FileResult
>> PlatformPickAsync(PickOptions options, bool allowMultiple = false)
FilePicker\FilePicker.shared.cs (6)
30
Task<
FileResult
?> PickAsync(PickOptions? options = null);
44
Task<IEnumerable<
FileResult
>> PickMultipleAsync(PickOptions? options = null);
65
public static Task<
FileResult
?> PickAsync(PickOptions? options = null) =>
80
public static Task<IEnumerable<
FileResult
>> PickMultipleAsync(PickOptions? options = null) =>
97
public async Task<
FileResult
?> PickAsync(PickOptions? options = null) =>
100
public Task<IEnumerable<
FileResult
>> PickMultipleAsync(PickOptions? options = null) =>
FileSystem\FileSystem.shared.cs (3)
330
/// Initializes a new instance of the <see cref="
FileResult
"/> class from a file path.
339
/// Initializes a new instance of the <see cref="
FileResult
"/> class from a file path, explicitly specifying the content type.
349
/// Initializes a new instance of the <see cref="
FileResult
"/> class from an existing instance.
MediaPicker\MediaPicker.netstandard.watchos.tvos.cs (4)
14
public Task<
FileResult
> PickPhotoAsync(MediaPickerOptions options) =>
17
public Task<
FileResult
> CapturePhotoAsync(MediaPickerOptions options) =>
20
public Task<
FileResult
> PickVideoAsync(MediaPickerOptions options) =>
23
public Task<
FileResult
> CaptureVideoAsync(MediaPickerOptions options) =>
MediaPicker\MediaPicker.shared.cs (16)
21
/// <returns>A <see cref="
FileResult
"/> object containing details of the picked photo. When the operation was cancelled by the user, this will return <see langword="null"/>.</returns>
22
Task<
FileResult
?> PickPhotoAsync(MediaPickerOptions? options = null);
28
/// <returns>A <see cref="
FileResult
"/> object containing details of the captured photo. When the operation was cancelled by the user, this will return <see langword="null"/>.</returns>
29
Task<
FileResult
?> CapturePhotoAsync(MediaPickerOptions? options = null);
35
/// <returns>A <see cref="
FileResult
"/> object containing details of the picked video. When the operation was cancelled by the user, this will return <see langword="null"/>.</returns>
36
Task<
FileResult
?> PickVideoAsync(MediaPickerOptions? options = null);
42
/// <returns>A <see cref="
FileResult
"/> object containing details of the captured video. When the operation was cancelled by the user, this will return <see langword="null"/>.</returns>
43
Task<
FileResult
?> CaptureVideoAsync(MediaPickerOptions? options = null);
61
/// <returns>A <see cref="
FileResult
"/> object containing details of the picked photo. When the operation was cancelled by the user, this will return <see langword="null"/>.</returns>
62
public static Task<
FileResult
?> PickPhotoAsync(MediaPickerOptions? options = null) =>
69
/// <returns>A <see cref="
FileResult
"/> object containing details of the captured photo. When the operation was cancelled by the user, this will return <see langword="null"/>.</returns>
70
public static Task<
FileResult
?> CapturePhotoAsync(MediaPickerOptions? options = null) =>
77
/// <returns>A <see cref="
FileResult
"/> object containing details of the picked video. When the operation was cancelled by the user, this will return <see langword="null"/>.</returns>
78
public static Task<
FileResult
?> PickVideoAsync(MediaPickerOptions? options = null) =>
85
/// <returns>A <see cref="
FileResult
"/> object containing details of the captured video. When the operation was cancelled by the user, this will return <see langword="null"/>.</returns>
86
public static Task<
FileResult
?> CaptureVideoAsync(MediaPickerOptions? options = null) =>