How to get the media format/extension of MediaPicker? #24854
-
I need to write photo or video streams to a file, what is their format? How should I determine the extension? photo = await MediaPicker.CapturePhotoAsync(options);
video = await MediaPicker.CaptureVideoAsync(options); |
Beta Was this translation helpful? Give feedback.
Answered by
CodingOctocat
Sep 21, 2024
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
CodingOctocat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FileResult.ContentType
: Gets or sets the file's content type as a MIME type (e.g.: image/png).